File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change 10
10
- main
11
11
12
12
jobs :
13
+ lint :
14
+ name : " Python Lint"
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+
19
+ - uses : actions/setup-python@v5
20
+ with :
21
+ python-version : " 3.12"
22
+
23
+ - name : Install dependencies
24
+ run : |
25
+ python -m pip install --upgrade pip
26
+ pip install tox
27
+
28
+ - name : Lint with tox
29
+ run : tox -e lint
30
+
13
31
test :
14
- name : " Python ${{matrix.python-version}} ${{ matrix.os }}"
32
+ name : " Python Test ${{matrix.python-version}} ${{ matrix.os }}"
33
+ needs : [lint]
15
34
runs-on : " ${{ matrix.os }}"
16
35
strategy :
17
36
matrix :
45
64
46
65
- name : Test with tox
47
66
run : tox
48
-
49
- - name : Lint with tox
50
- run : tox -e lint
51
- if : " ${{ matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest' }}"
You can’t perform that action at this time.
0 commit comments