mirror of
https://github.com/strapi/strapi.git
synced 2025-11-23 13:40:58 +00:00
Merge pull request #20952 from strapi/v5/aggregate-test-results
chore: add aggregate test result to v5
This commit is contained in:
commit
a7ba501bdf
30
.github/workflows/tests.yml
vendored
30
.github/workflows/tests.yml
vendored
@ -476,3 +476,33 @@ jobs:
|
|||||||
dbOptions: '--dbclient=sqlite --dbfile=./tmp/data.db'
|
dbOptions: '--dbclient=sqlite --dbfile=./tmp/data.db'
|
||||||
runEE: true
|
runEE: true
|
||||||
jestOptions: '--shard=${{ matrix.shard }}'
|
jestOptions: '--shard=${{ matrix.shard }}'
|
||||||
|
|
||||||
|
test_result:
|
||||||
|
if: ${{ always() }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: aggregate_test_result
|
||||||
|
needs:
|
||||||
|
[
|
||||||
|
pretty,
|
||||||
|
lint,
|
||||||
|
build,
|
||||||
|
typescript,
|
||||||
|
unit_back,
|
||||||
|
unit_front,
|
||||||
|
e2e_ce,
|
||||||
|
e2e_ee,
|
||||||
|
cli,
|
||||||
|
api_ce_pg,
|
||||||
|
api_ce_mysql,
|
||||||
|
api_ce_sqlite,
|
||||||
|
api_ee_pg,
|
||||||
|
api_ee_mysql,
|
||||||
|
api_ee_sqlite,
|
||||||
|
]
|
||||||
|
steps:
|
||||||
|
- run: exit 1
|
||||||
|
if: >-
|
||||||
|
${{
|
||||||
|
contains(needs.*.result, 'failure')
|
||||||
|
|| contains(needs.*.result, 'cancelled')
|
||||||
|
}}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user