File tree Expand file tree Collapse file tree 2 files changed +44
-6
lines changed Expand file tree Collapse file tree 2 files changed +44
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : check
2
+ on :
3
+ workflow_dispatch :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - main
8
+
9
+ jobs :
10
+ pre_commit :
11
+ name : Pre-commit
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v5
15
+ - uses : actions/setup-python@v5
16
+ with :
17
+ python-version : ' 3.9'
18
+ -
uses :
pre-commit/[email protected]
19
+
20
+ test :
21
+ name : Test on Python ${{ matrix.py }}
22
+ runs-on : ubuntu-latest
23
+
24
+ strategy :
25
+ fail-fast : false
26
+ matrix :
27
+ py :
28
+ - " 3.13"
29
+ - " 3.12"
30
+ - " 3.11"
31
+ - " 3.10"
32
+ - " 3.9"
33
+
34
+ steps :
35
+ - name : Setup python for test ${{ matrix.py }}
36
+ uses : actions/setup-python@v5
37
+ with :
38
+ python-version : ${{ matrix.py }}
39
+ - uses : actions/checkout@v5
40
+
41
+ - name : Install tox-gh
42
+ run : python -m pip install tox-gh
43
+ - name : Run test suite
44
+ run : tox
Original file line number Diff line number Diff line change 23
23
factory-boy
24
24
commands =
25
25
pytest
26
- passenv =
27
- DB_HOST
28
- DB_PORT
29
- DB_NAME
30
- DB_USER
31
- DB_PASSWORD
You can’t perform that action at this time.
0 commit comments