Skip to content

Commit e9b7f76

Browse files
committed
add more debugging
1 parent f18acd0 commit e9b7f76

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/test.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
name: Finding affected tests
2929
runs-on: ubuntu-latest
3030
outputs:
31-
python: ${{ steps.python.outputs.AFFECTED }}
31+
python: ${{ steps.python.outputs.jobs }}
3232
steps:
3333
- uses: actions/checkout@v4
3434
with:
@@ -40,9 +40,9 @@ jobs:
4040
- run: go install github.com/davidcavazos/testing-infra/cmd/affected@v0.0.3
4141
- id: python
4242
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"
4646
4747
python-lint:
4848
name: Lint Python
@@ -65,10 +65,10 @@ jobs:
6565
steps:
6666
- run: echo "$OUTPUTS"
6767
env:
68-
OUTPUTS: "${{ needs.affected.outputs }}"
69-
- run: echo "$AFFECTED"
68+
OUTPUTS: ${{ toJson(needs.affected.outputs) }}
69+
- run: echo "$PYTHON"
7070
env:
71-
AFFECTED: "${{ needs.affected.outputs.python }}"
71+
PYTHON: ${{ toJson(needs.affected.outputs.python) }}
7272

7373
# python-test:
7474
# name: Test Python

0 commit comments

Comments
 (0)