From a34321fa412cfbb7b367fc080399818a3c5b3a0f Mon Sep 17 00:00:00 2001 From: Nicholas Farley Date: Tue, 28 Nov 2023 13:38:12 -0500 Subject: [PATCH] Perform actual testing against parallel job paths --- .github/workflows/test.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4bb878c..2f614b5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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