We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2ed92c commit 7fa60f9Copy full SHA for 7fa60f9
1 file changed
.github/workflows/tests.yml
@@ -0,0 +1,34 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-24.04
12
13
+ env:
14
+ PYTHONPATH: ${{ github.workspace }}:${{ github.workspace }}/web
15
16
+ steps:
17
+ - name: Checkout code
18
+ uses: actions/checkout@v4
19
20
+ - name: Set up Python
21
+ uses: actions/setup-python@v5
22
+ with:
23
+ python-version: '3.10'
24
25
+ - name: Install dependencies
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ pip install pytest
29
+ pip install -r tests/requirements.txt
30
+ pip install -r web/requirements.txt
31
32
+ - name: Run tests
33
34
+ pytest tests/ -v --tb=short
0 commit comments