Skip to content

Commit

Permalink
ci: update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Oct 19, 2023
1 parent 1a483fa commit 196a2e8
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@ on:
workflow_dispatch:

jobs:
yarn-lockfile-check:
uses: salesforcecli/github-workflows/.github/workflows/lockFileCheck.yml@main
linux-unit-tests:
needs: yarn-lockfile-check
uses: salesforcecli/github-workflows/.github/workflows/unitTestsLinux.yml@main
windows-unit-tests:
needs: linux-unit-tests
uses: salesforcecli/github-workflows/.github/workflows/unitTestsWindows.yml@main
sf-integration-tests:
needs: linux-unit-tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
Expand All @@ -28,6 +37,7 @@ jobs:
run: yarn test:integration:sf

integration-tests:
needs: linux-unit-tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
Expand All @@ -42,6 +52,3 @@ jobs:
- run: yarn build
- name: Run tests
run: yarn ${{matrix.test}}

unit-tests:
uses: salesforcecli/github-workflows/.github/workflows/unitTest.yml@main

0 comments on commit 196a2e8

Please sign in to comment.