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 63ee4db commit 1de3525
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/matrix-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@ defaults:
run:
shell: bash

# run_tests:
# needs: collect_dirs
# runs-on: ubuntu-latest
# strategy:
# matrix:
# dir: ${{ fromJson(needs.collect_dirs.outputs.dirs) }}
# steps:
# - run: echo ${{ matrix.dir }}

jobs:
collect_dirs:
collect_apps:
runs-on: [ubuntu-latest]
outputs:
dirs: ${{ steps.dirs.outputs.dirs }}
steps:
- uses: actions/checkout@v4
- id: dirs
- 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:
needs: collect_apps
runs-on: [ubuntu-latest]
strategy:
matrix:
dir: ${{ fromJson(needs.collect_apps.outputs.dirs) }}
steps:
- run: echo ${{ matrix.dir }}

0 comments on commit 1de3525

Please sign in to comment.