Skip to content

Commit

Permalink
ci: generate data before testing
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlj95 committed Nov 26, 2024
1 parent bf3fec3 commit 3fe0aba
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/reusable-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,8 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup
uses: ./.github/actions/setup
- name: Generate simple icons and font subset files
run: |
pnpm run --filter scripts build
pnpm run --filter scripts generate:font-subsets
pnpm run --filter scripts generate:simple-icons
- name: Data tasks
run: pnpm run data
- name: Run tests
run: cd .ci && make unit-test
- name: Upload coverage results
Expand Down Expand Up @@ -80,10 +77,8 @@ jobs:
# In that scenario, `cypress run` does not install it again and errors
- name: Cypress install
run: pnpm cypress install
- name: Generate font subsets
run: |
pnpm run --filter scripts build
pnpm run --filter scripts generate:font-subsets
- name: Data tasks
run: pnpm run data
- name: Cypress run
uses: cypress-io/github-action@v6
with:
Expand Down

0 comments on commit 3fe0aba

Please sign in to comment.