Spaces:
Runtime error
Runtime error
freemt
commited on
Commit
Β·
9d1903c
1
Parent(s):
c22a896
Update using requirements.txt
Browse files- .github/workflows/routine-tests.yml +9 -4
- requirements.txt +1 -0
.github/workflows/routine-tests.yml
CHANGED
|
@@ -24,11 +24,16 @@ jobs:
|
|
| 24 |
- name: Install packages
|
| 25 |
run: |
|
| 26 |
# poetry update # sync lock file
|
| 27 |
-
poetry lock --no-update # sync lock file
|
| 28 |
-
poetry install # --no-dev
|
|
|
|
|
|
|
| 29 |
- name: Run flake8
|
| 30 |
run: |
|
| 31 |
-
poetry run flake8 --exit-zero
|
| 32 |
# poetry run pytest
|
|
|
|
| 33 |
- name: Run pytest
|
| 34 |
-
run:
|
|
|
|
|
|
|
|
|
| 24 |
- name: Install packages
|
| 25 |
run: |
|
| 26 |
# poetry update # sync lock file
|
| 27 |
+
# poetry lock --no-update # sync lock file
|
| 28 |
+
# poetry install # --no-dev
|
| 29 |
+
pip install -r requirements.txt
|
| 30 |
+
pip install flake8 pytest pytest-asyncio
|
| 31 |
- name: Run flake8
|
| 32 |
run: |
|
| 33 |
+
# poetry run flake8 --exit-zero
|
| 34 |
# poetry run pytest
|
| 35 |
+
flake8 --exit-zero
|
| 36 |
- name: Run pytest
|
| 37 |
+
run: |
|
| 38 |
+
# poetry run pytest
|
| 39 |
+
pytest tests
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
certifi==2021.5.30; python_full_version >= "3.6.0"
|
| 2 |
charset-normalizer==2.0.3; python_version >= "3" and python_full_version >= "3.6.0"
|
| 3 |
click==8.0.1; python_version >= "3.6" and python_full_version >= "3.6.0"
|
|
|
|
| 1 |
+
gradio
|
| 2 |
certifi==2021.5.30; python_full_version >= "3.6.0"
|
| 3 |
charset-normalizer==2.0.3; python_version >= "3" and python_full_version >= "3.6.0"
|
| 4 |
click==8.0.1; python_version >= "3.6" and python_full_version >= "3.6.0"
|