mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-02-07 07:34:17 +00:00
only run frontend tests if backend passes w/ burnettk
This commit is contained in:
parent
9b3fcbe353
commit
f4870003cf
8
.github/workflows/frontend_tests.yml
vendored
8
.github/workflows/frontend_tests.yml
vendored
@ -1,8 +1,10 @@
|
|||||||
name: Frontend Tests
|
name: Frontend Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
- push
|
workflow_run:
|
||||||
- pull_request
|
workflows: ["Backend Tests"]
|
||||||
|
# completed does not mean success of Tests workflow. see below checking github.event.workflow_run.conclusion
|
||||||
|
types: [completed]
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
@ -13,6 +15,7 @@ defaults:
|
|||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Development Code
|
- name: Development Code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -57,6 +60,7 @@ jobs:
|
|||||||
|
|
||||||
cypress-run:
|
cypress-run:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user