diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6e2e24cf..95a0ddc2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,7 +62,7 @@ jobs: enumerate-wrappers-tests: runs-on: ubuntu-latest outputs: - test-list: ${{ steps.enumerate.outputs.tests }} + list: ${{ steps.enumerate.outputs.tests }} steps: - name: Check out riot-wrappers uses: actions/checkout@v3 @@ -73,8 +73,17 @@ jobs: cat "${GITHUB_OUTPUT}" - name: Set job summary run: | + # This doubles as a check to see that our JSON is right echo 'Local tests were enumerated to be `${{ toJSON(fromJSON( steps.enumerate.outputs.tests )) }}`' >> $GITHUB_STEP_SUMMARY + can-we-read-needs-data: + runs-on: ubuntu-latest + needs: enumerate-wrappers-tests + steps: + - name: Debug + run: | + echo "plain: ${{ needs.enumerate-wrappers-tests.outputs.list }}" + wrappers-tests: runs-on: ubuntu-latest needs: enumerate-wrappers-tests @@ -82,7 +91,7 @@ jobs: strategy: matrix: board: [native, sltb001a, samr21-xpro, stk3700] - testdir: ${{ fromJSON(needs.enumerate-wrappers-tests.outputs.tests-list) }} + testdir: ${{ fromJSON(needs.enumerate-wrappers-tests.outputs.list) }} steps: # common steps start here - name: Check out riot-wrappers