Spaces:
Running
Running
add com drifts + animation; add streamlit test
Browse files- .github/workflows/test.yaml +22 -1
.github/workflows/test.yaml
CHANGED
@@ -31,4 +31,25 @@ jobs:
|
|
31 |
|
32 |
- name: Run tests
|
33 |
run: |
|
34 |
-
pytest tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
- name: Run tests
|
33 |
run: |
|
34 |
+
pytest tests
|
35 |
+
|
36 |
+
test-deploy:
|
37 |
+
runs-on: ubuntu-latest
|
38 |
+
needs: test
|
39 |
+
steps:
|
40 |
+
- name: Checkout repository
|
41 |
+
uses: actions/checkout@v2
|
42 |
+
|
43 |
+
- name: Set up Python 3.11
|
44 |
+
uses: actions/setup-python@v2
|
45 |
+
with:
|
46 |
+
python-version: "3.11"
|
47 |
+
|
48 |
+
- name: Install dependencies
|
49 |
+
run: |
|
50 |
+
python -m pip install --upgrade pip
|
51 |
+
pip install .[app]
|
52 |
+
|
53 |
+
- name: Run deploy tests
|
54 |
+
run: |
|
55 |
+
streamlit run serve/app.py
|