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

testmo checks fails on community pull requests #4002

Merged
merged 18 commits into from
Jul 28, 2023
13 changes: 5 additions & 8 deletions .github/workflows/test-env-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ jobs:

testmo-report-preparation:
needs: prepare-tests
if: github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-22.04
outputs:
testmo-run-id: ${{ steps.run-tests.outputs.TESTMO_RUN_ID }}
Expand Down Expand Up @@ -200,13 +201,7 @@ jobs:

cypress-run-selected:
runs-on: ubuntu-22.04
needs:
[
prepare-tests,
deploy,
testmo-report-preparation,
testmo-report-preparation,
]
needs: [prepare-tests, deploy, testmo-report-preparation]
container: cypress/browsers:node18.12.0-chrome106-ff106
strategy:
fail-fast: false
Expand Down Expand Up @@ -269,6 +264,7 @@ jobs:
working-directory: .github/workflows
run: npm ci
- name: Testmo threads submit
if: github.event.pull_request.head.repo.fork == false
working-directory: .github/workflows
run: |
npx testmo automation:run:submit-thread \
Expand All @@ -281,7 +277,8 @@ jobs:
TESTMO_RUN_ID: ${{ needs.testmo-report-preparation.outputs.testmo-run-id }}
test-complete:
needs: [testmo-report-preparation, cypress-run-selected]
if: always()
if: |
always() && !contains(needs.*.result, 'skipped') && !contains(needs.*.result, 'cancelled') && github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
Expand Down