Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
run tests on CI multiple times
This works around the timeouts/flakeyness of GitHub Actions
  • Loading branch information
RobinMalfait committed Apr 7, 2023
commit b093b322fd445e47635bd4882fe5bea8ee381a30
5 changes: 4 additions & 1 deletion .github/workflows/ci-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ jobs:
run: npm run build

- name: Test
run: npm run test
run: |
npm run test || \
npm run test || \
npm run test || exit 1

- name: Lint
run: npm run style
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ jobs:
run: npx turbo run build --filter=//

- name: Test
run: npx turbo run test --filter=//
run: |
npx turbo run test --filter=// || \
npx turbo run test --filter=// || \
npx turbo run test --filter=// || exit 1

- name: Lint
run: npx turbo run style --filter=//
5 changes: 4 additions & 1 deletion .github/workflows/integration-tests-oxide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,7 @@ jobs:
run: npx turbo run build --filter=//

- name: Test ${{ matrix.integration }}
run: npx turbo run test --filter=./integrations/${{ matrix.integration }}
run: |
npx turbo run test --filter=./integrations/${{ matrix.integration }} || \
npx turbo run test --filter=./integrations/${{ matrix.integration }} || \
npx turbo run test --filter=./integrations/${{ matrix.integration }} || exit 1
5 changes: 4 additions & 1 deletion .github/workflows/integration-tests-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,7 @@ jobs:
run: npm run build

- name: Test ${{ matrix.integration }}
run: npm run test --prefix ./integrations/${{ matrix.integration }}
run: |
npm run test --prefix ./integrations/${{ matrix.integration }} || \
npm run test --prefix ./integrations/${{ matrix.integration }} || \
npm run test --prefix ./integrations/${{ matrix.integration }} || exit 1
5 changes: 4 additions & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ jobs:
working-directory: standalone-cli

- name: Test
run: npm test
run: |
npm test || \
npm test || \
npm test || exit 1
working-directory: standalone-cli

- name: Release
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release-insiders-oxide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,10 @@ jobs:
run: npm run build

- name: Test
run: npm test
run: |
npm test || \
npm test || \
npm test || exit 1

- name: 'Version based on commit: 0.0.0-${{ env.RELEASE_CHANNEL }}.${{ env.SHA_SHORT }}'
run: npm version 0.0.0-${{ env.RELEASE_CHANNEL }}.${{ env.SHA_SHORT }} --force --no-git-tag-version
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release-insiders-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ jobs:
run: npm run build

- name: Test
run: npm run test
run: |
npm run test || \
npm run test || \
npm run test || exit 1

- name: Resolve version
id: vars
Expand Down