File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change 21
21
- ' **/*.yaml'
22
22
23
23
jobs :
24
+ tox-lint :
25
+ # Linting is ran through tox to ensure that the same linter is used by local runners
26
+ runs-on : ubuntu-latest
27
+ steps :
28
+ - uses : actions/checkout@v4
29
+ - name : Set up linting environment
30
+ uses : actions/setup-python@v5
31
+ with :
32
+ python-version : ' 3.x'
33
+ - name : Install tox and related dependencies
34
+ run : |
35
+ python -m pip install --upgrade pip
36
+ pip install tox
37
+ - name : Run tox linting environment
38
+ run : tox -e lint
24
39
tox-matrix :
25
40
runs-on : ${{ matrix.os }}
26
41
strategy :
27
- fail-fast : false # We want to know what version it fails on
42
+ fail-fast : false # We want to know what specicic versions it fails on
28
43
matrix :
29
44
os : [
30
45
ubuntu-latest,
38
53
' 3.11' ,
39
54
' 3.12' ,
40
55
]
41
-
42
56
steps :
43
57
- uses : actions/checkout@v4
44
58
- name : Set up environment ${{ matrix.python-version }}
51
65
pip install tox
52
66
pip install tox-gh-actions
53
67
- name : Run tox
54
- run : |
55
- tox -e lint
56
- tox
68
+ run : tox
You can’t perform that action at this time.
0 commit comments