Skip to content

Commit

Permalink
Try matrix action by hardcoding values
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomTannenbaum committed Nov 5, 2024
1 parent dec8ab2 commit a31a469
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/frontend-test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,11 @@ jobs:
- name: Run unit tests
run: npm test

get-e2e-files:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Generate file list
id: generate-file-list
run: |
FILES=$(find frontend/cypress/e2e -type f -exec basename {} \; | jq -R . | jq -s .)
echo "file_list=$FILES" >> $GITHUB_OUTPUT
e2e:
needs: get-e2e-files
runs-on: ubuntu-24.04
strategy:
matrix:
file: ${{ fromJSON(needs.get-e2e-files.outputs.file_list) }}
file: "['checkIn.cy.ts', 'crud.cy.ts']"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit a31a469

Please sign in to comment.