Skip to content

Commit

Permalink
add more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcavazos committed Sep 9, 2024
1 parent f18acd0 commit e9b7f76
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
name: Finding affected tests
runs-on: ubuntu-latest
outputs:
python: ${{ steps.python.outputs.AFFECTED }}
python: ${{ steps.python.outputs.jobs }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -40,9 +40,9 @@ jobs:
- run: go install github.com/davidcavazos/testing-infra/cmd/[email protected]
- id: python
run: |
PYTHON=$(affected .github/workflows/config/python.json)
echo "$PYTHON"
echo "AFFECTED=$PYTHON" >> "$GITHUB_OUTPUT"
JOBS=$(affected .github/workflows/config/python.json)
echo "$JOBS"
echo "jobs=$JOBS" >> "$GITHUB_OUTPUT"
python-lint:
name: Lint Python
Expand All @@ -65,10 +65,10 @@ jobs:
steps:
- run: echo "$OUTPUTS"
env:
OUTPUTS: "${{ needs.affected.outputs }}"
- run: echo "$AFFECTED"
OUTPUTS: ${{ toJson(needs.affected.outputs) }}
- run: echo "$PYTHON"
env:
AFFECTED: "${{ needs.affected.outputs.python }}"
PYTHON: ${{ toJson(needs.affected.outputs.python) }}

# python-test:
# name: Test Python
Expand Down

0 comments on commit e9b7f76

Please sign in to comment.