File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 28
28
name : Finding affected tests
29
29
runs-on : ubuntu-latest
30
30
outputs :
31
- python : ${{ steps.python.outputs.AFFECTED }}
31
+ python : ${{ steps.python.outputs.jobs }}
32
32
steps :
33
33
- uses : actions/checkout@v4
34
34
with :
40
40
- run : go install github.com/davidcavazos/testing-infra/cmd/affected@v0.0.3
41
41
- id : python
42
42
run : |
43
- PYTHON =$(affected .github/workflows/config/python.json)
44
- echo "$PYTHON "
45
- echo "AFFECTED=$PYTHON " >> "$GITHUB_OUTPUT"
43
+ JOBS =$(affected .github/workflows/config/python.json)
44
+ echo "$JOBS "
45
+ echo "jobs=$JOBS " >> "$GITHUB_OUTPUT"
46
46
47
47
python-lint :
48
48
name : Lint Python
@@ -65,10 +65,10 @@ jobs:
65
65
steps :
66
66
- run : echo "$OUTPUTS"
67
67
env :
68
- OUTPUTS : " ${{ needs.affected.outputs }}"
69
- - run : echo "$AFFECTED "
68
+ OUTPUTS : ${{ toJson( needs.affected.outputs) }}
69
+ - run : echo "$PYTHON "
70
70
env :
71
- AFFECTED : " ${{ needs.affected.outputs.python }}"
71
+ PYTHON : ${{ toJson( needs.affected.outputs.python) }}
72
72
73
73
# python-test:
74
74
# name: Test Python
You can’t perform that action at this time.
0 commit comments