File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run Tests
2+
3+ on :
4+ push :
5+ pull_request :
6+ types : [opened, reopened, synchronize]
7+
8+ jobs :
9+ check :
10+ runs-on : ubuntu-latest
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ python-version : ["3.11"]
15+
16+ name : check ${{ matrix.python-version }}
17+ steps :
18+ - uses : actions/checkout@v3
19+ with :
20+ fetch-depth : 0
21+
22+ - name : Set up CPython ${{ matrix.python-version }}
23+ uses : actions/setup-python@v4
24+ with :
25+ python-version : ${{ matrix.python-version }}
26+
27+ - name : Install dependencies
28+ id : install-deps
29+ run : |
30+ python -m pip install --upgrade pip setuptools
31+ pip install -U -r requirements.txt
32+ pip install -U -r requirements-tests.txt
33+
34+ - name : Run Tests
35+ if : ${{ always() && steps.install-deps.outcome == 'success' }}
36+ run : |
37+ pytest
You can’t perform that action at this time.
0 commit comments