Spaces:
Sleeping
Sleeping
Add GitHub Actions CI pipeline for unit tests, linting, DVC model pulling, and Docker image building.
Browse files- .github/workflows/ci.yml +11 -0
.github/workflows/ci.yml
CHANGED
|
@@ -67,6 +67,17 @@ jobs:
|
|
| 67 |
sudo rm -rf /opt/hostedtoolcache/CodeQL
|
| 68 |
sudo docker image prune --all --force
|
| 69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
- name: Configure DVC
|
| 71 |
run: |
|
| 72 |
dvc remote modify origin --local auth basic
|
|
|
|
| 67 |
sudo rm -rf /opt/hostedtoolcache/CodeQL
|
| 68 |
sudo docker image prune --all --force
|
| 69 |
|
| 70 |
+
- name: Set up Python 3.10
|
| 71 |
+
uses: actions/setup-python@v4
|
| 72 |
+
with:
|
| 73 |
+
python-version: "3.10"
|
| 74 |
+
cache: 'pip'
|
| 75 |
+
|
| 76 |
+
- name: Install DVC
|
| 77 |
+
run: |
|
| 78 |
+
python -m pip install --upgrade pip
|
| 79 |
+
pip install dvc dvc-s3
|
| 80 |
+
|
| 81 |
- name: Configure DVC
|
| 82 |
run: |
|
| 83 |
dvc remote modify origin --local auth basic
|