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 : CI
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches : [main]
7
+
8
+ jobs :
9
+ lint :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-python@v5
14
+ with :
15
+ python-version : " 3.12"
16
+ -
uses :
pre-commit/[email protected]
17
+ -
uses :
pre-commit-ci/[email protected]
18
+ if : always()
19
+
20
+ test :
21
+ runs-on : ubuntu-latest
22
+ strategy :
23
+ fail-fast : false
24
+ matrix :
25
+ python-version :
26
+ - " 3.8"
27
+ - " 3.9"
28
+ - " 3.10"
29
+ - " 3.11"
30
+ - " 3.12"
31
+ steps :
32
+ - uses : actions/checkout@v4
33
+ - uses : actions/setup-python@v5
34
+ with :
35
+ python-version : ${{ matrix.python-version }}
36
+ - run : python -m pip install tox
37
+ - run : tox -f py$(echo ${{ matrix.python-version }} | tr -d .)
You can’t perform that action at this time.
0 commit comments