Run tests only on pull requests and wait for unit tests before running UI tests
This commit is contained in:
parent
8ac6eb24a0
commit
0195e4ee58
1 changed files with 1 additions and 3 deletions
|
@ -2,8 +2,6 @@ name: Build & Test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
|
||||||
branches: [ main ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
|
@ -47,7 +45,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Run UI Tests
|
name: Run UI Tests
|
||||||
needs:
|
needs:
|
||||||
- validate
|
- unit_tests
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: set up JDK
|
- name: set up JDK
|
||||||
|
|
Loading…
Reference in a new issue