Abhinav Gavireddi
commited on
Commit
·
7c8a700
1
Parent(s):
cd56623
fix: fixed issues with deployment
Browse files- .github/workflows/ci.yaml +16 -16
.github/workflows/ci.yaml
CHANGED
|
@@ -7,22 +7,22 @@ on:
|
|
| 7 |
branches: [ main ]
|
| 8 |
|
| 9 |
jobs:
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
|
| 27 |
deploy-to-hf:
|
| 28 |
runs-on: ubuntu-latest
|
|
|
|
| 7 |
branches: [ main ]
|
| 8 |
|
| 9 |
jobs:
|
| 10 |
+
build-and-test:
|
| 11 |
+
runs-on: ubuntu-latest
|
| 12 |
+
steps:
|
| 13 |
+
- name: Checkout repo
|
| 14 |
+
uses: actions/checkout@v3
|
| 15 |
+
- name: Set up Python
|
| 16 |
+
uses: actions/setup-python@v4
|
| 17 |
+
with:
|
| 18 |
+
python-version: '3.10'
|
| 19 |
+
- name: Install dependencies
|
| 20 |
+
run: |
|
| 21 |
+
python -m pip install --upgrade pip
|
| 22 |
+
pip install -r requirements.txt
|
| 23 |
+
# - name: Run tests
|
| 24 |
+
# run: |
|
| 25 |
+
# if [ -f tests/test.py ]; then python -m unittest discover -s tests; fi
|
| 26 |
|
| 27 |
deploy-to-hf:
|
| 28 |
runs-on: ubuntu-latest
|