Spaces:
Runtime error
Runtime error
Commit
·
77d20f4
1
Parent(s):
b518521
Fix CI
Browse files- .github/workflows/test_ubuntu.yml +0 -37
- app/requirements.txt +2 -1
.github/workflows/test_ubuntu.yml
DELETED
@@ -1,37 +0,0 @@
|
|
1 |
-
name: Test
|
2 |
-
on:
|
3 |
-
push:
|
4 |
-
branches:
|
5 |
-
- main
|
6 |
-
pull_request:
|
7 |
-
branches:
|
8 |
-
- main
|
9 |
-
jobs:
|
10 |
-
build-unbuntu:
|
11 |
-
strategy:
|
12 |
-
max-parallel: 1
|
13 |
-
matrix:
|
14 |
-
python-version: [ "3.8", "3.10", "3.9"]
|
15 |
-
os: [ubuntu-latest, windows-latest, linux-latest]
|
16 |
-
runs-on: ${{ matrix.os }}
|
17 |
-
steps:
|
18 |
-
- uses: actions/checkout@v4
|
19 |
-
with:
|
20 |
-
lfs: true
|
21 |
-
- name: Set up Python and install dependencies
|
22 |
-
uses: actions/setup-python@v4
|
23 |
-
with:
|
24 |
-
python-version: ${{ matrix.python-version }}
|
25 |
-
- run: pip install -r app/requirements.txt
|
26 |
-
- name: Run test
|
27 |
-
run: pytest
|
28 |
-
env:
|
29 |
-
SUPABASE_URL: ${{secrets.SUPABASE_URL}}
|
30 |
-
SUPABASE_KEY: ${{secrets.SUPABASE_KEY}}
|
31 |
-
FIREBASE_CREDENTIALS: ${{secrets.FIREBASE_CREDENTIALS}}
|
32 |
-
NEO4J_URI: ${{secrets.NEO4J_URI}}
|
33 |
-
NEO4J_USERNAME: ${{secrets.NEO4J_USERNAME}}
|
34 |
-
NEO4J_PASSWORD: ${{secrets.NEO4J_PASSWORD}}
|
35 |
-
AURA_INSTANCEID: ${{secrets.AURA_INSTANCEID}}
|
36 |
-
AURA_INSTANCENAME: ${{secrets.AURA_INSTANCENAME}}
|
37 |
-
FIREBASE_API_KEY: ${{secrets.FIREBASE_API_KEY}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/requirements.txt
CHANGED
@@ -14,4 +14,5 @@ pytest
|
|
14 |
pytest-cov
|
15 |
qrcode==7.4.2
|
16 |
neo4j==5.14.1
|
17 |
-
opencv-python-headless
|
|
|
|
14 |
pytest-cov
|
15 |
qrcode==7.4.2
|
16 |
neo4j==5.14.1
|
17 |
+
opencv-python-headless
|
18 |
+
mutatest
|