Commit b211c9f1 authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

build: wait on tests (#4074)

parent 66cae715
...@@ -6,17 +6,24 @@ on: ...@@ -6,17 +6,24 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
wait-on-test: wait-on-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: jitterbit/await-check-suites@v1 - id: unit-tests
uses: fountainhead/action-wait-for-check@v1.0.0
with: with:
timeoutSeconds: 600 token: ${{ secrets.GITHUB_TOKEN }}
# Only wait for the first check suite, so that only tests are awaited, and not eg crowdin. checkName: unit-tests
onlyFirstCheckSuite: true - id: cypress-tests
uses: fountainhead/action-wait-for-check@v1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: cypress-tests
- if: steps.unit-tests.outputs.conclusion != 'success' || steps.cypress-tests.outputs.conclusion != 'success'
run: exit 1
tag: tag:
needs: wait-on-test needs: wait-on-tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
new_tag: ${{ steps.github-tag-action.outputs.new_tag }} new_tag: ${{ steps.github-tag-action.outputs.new_tag }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment