Skip to content

Commit

Permalink
Perform actual testing against parallel job paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nafarlee committed Nov 28, 2023
1 parent 55eac9b commit a34321f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ jobs:
strategy:
matrix:
path: ${{ fromJSON(needs.main.outputs.paths) }}
include:
- path: fixtures/run-a/
value: 4
- path: fixtures/run-b/
value: 5
steps:
- uses: actions/checkout@v3
- run: cat ${{ matrix.path }}file.txt
- run: test "$VALUE" = "$(cat $PATH)"
env:
VALUE: ${{ matrix.value }}
PATH: ${{ matrix.path }}file.txt

0 comments on commit a34321f

Please sign in to comment.