Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtieReus committed Apr 12, 2024
1 parent 644a40b commit c4c2c7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/matrix-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ jobs:
collect_apps:
runs-on: [ubuntu-latest]
outputs:
dirs: ${{ steps.dirs.outputs.dirs }}
apps: ${{ steps.dirs.outputs.apps }}
steps:
- uses: actions/checkout@v4
- id: apps
run: |
echo "dirs=$(ls -d ./apps/*/ | jq --raw-input --slurp --compact-output 'split("\n")[:-1]')"
echo "dirs=$(ls -d ./apps/*/ | jq --raw-input --slurp --compact-output 'split("\n")[:-1]')" >> ${GITHUB_OUTPUT}
run_tests:
run_test:
needs: collect_apps
runs-on: [ubuntu-latest]
strategy:
matrix:
dir: ${{needs.collect_apps.outputs.dirs && fromJson(needs.collect_apps.outputs.dirs)}}
dir: ${{fromJson(needs.collect_apps.outputs.apps)}}
steps:
- run: echo ${{ matrix.dir }}
- run: echo ${{ matrix.apps }}

0 comments on commit c4c2c7e

Please sign in to comment.