File tree Expand file tree Collapse file tree 5 files changed +31
-13
lines changed Expand file tree Collapse file tree 5 files changed +31
-13
lines changed Original file line number Diff line number Diff line change 24
24
name : Finding affected tests
25
25
runs-on : ubuntu-latest
26
26
outputs :
27
- python : ${{steps.python.outputs.affected}}
27
+ python : ${{ steps.python.outputs.affected }}
28
28
steps :
29
29
- uses : actions/checkout@v4
30
30
with :
33
33
with :
34
34
go-version : ^1.23.0
35
35
- run : go version
36
- - run : go install github.com/davidcavazos/testing-infra/cmd/affected@v0.0.1
36
+ - run : go install github.com/davidcavazos/testing-infra/cmd/affected@v0.0.2
37
+ - id : python
38
+ run : |
39
+ PYTHON=$(affected .github/workflows/python/config.json)
40
+ echo "$PYTHON"
41
+ echo "affected=$PYTHON" >> "$GITHUB_OUTPUT"
42
+
43
+ python-lint :
44
+ name : Lint Python
45
+ needs : affected
46
+ runs-on : ubuntu-latest
47
+ strategy :
48
+ matrix :
49
+ affected : ${{ fromJson(needs.affected.outputs.python) }}
50
+ env :
51
+ PACKAGE : ${{ toJson(matrix.affected.packages) }}
52
+ steps :
53
+ - uses : actions/checkout@v4
54
+ - uses : actions/setup-python@v5
55
+ with :
56
+ python-version : ' 3.12'
57
+ - run : pip install nox
58
+ - run : echo "$PACKAGE"
59
+ - working-directory : ${{ env.PACKAGE }}
60
+ run : nox -s lint
Original file line number Diff line number Diff line change
1
+ {
2
+ "package" : [
3
+ " noxfile_config.py"
4
+ ]
5
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments