Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: aggregate test results for required statuses #592

Merged
merged 2 commits into from Jul 12, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/e2e-tests.yml
Expand Up @@ -47,3 +47,13 @@ jobs:
env:
CI: true
REPLICA_PORT: 8000

aggregate:
name: e2e:required
if: ${{ always() }}
needs: [ test ]
runs-on: ubuntu-latest
steps:
- name: check e2e test result
if: ${{ needs.test.result != 'success' }}
run: exit 1
10 changes: 10 additions & 0 deletions .github/workflows/mitm.yml
Expand Up @@ -63,3 +63,13 @@ jobs:
REPLICA_PORT: 8888
MITM: true
run: npm run mitm --workspaces --if-present

aggregate:
name: mitm:required
if: ${{ always() }}
needs: [ test ]
runs-on: ubuntu-latest
steps:
- name: check e2e test result
if: ${{ needs.test.result != 'success' }}
run: exit 1
10 changes: 10 additions & 0 deletions .github/workflows/prettier.yml
Expand Up @@ -28,3 +28,13 @@ jobs:
- run: npm install -g npm
- run: npm install prettier pretty-quick
- run: npm run prettier:check

aggregate:
name: format:required
if: ${{ always() }}
needs: [ test ]
runs-on: ubuntu-latest
steps:
- name: check e2e test result
if: ${{ needs.test.result != 'success' }}
run: exit 1
10 changes: 10 additions & 0 deletions .github/workflows/unit-tests.yml
Expand Up @@ -42,3 +42,13 @@ jobs:
- run: npm run test
env:
CI: true

aggregate:
name: unit:required
if: ${{ always() }}
needs: [ test ]
runs-on: ubuntu-latest
steps:
- name: check e2e test result
if: ${{ needs.test.result != 'success' }}
run: exit 1