mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
chore(ci): migrate stencil eval to use new react testing infra (#26990)
this commit ports the ci changes from #26961 & #26959 to the stencil-eval workflow, to allow the stencil nightly build to pass. this is being done as a stop-gap measure to get the tests to pass again - we'll circle back and find a solution to the repetition at a later date
This commit is contained in:
30
.github/workflows/stencil-eval.yml
vendored
30
.github/workflows/stencil-eval.yml
vendored
@ -200,6 +200,10 @@ jobs:
|
|||||||
- uses: ./.github/workflows/actions/build-react-router
|
- uses: ./.github/workflows/actions/build-react-router
|
||||||
|
|
||||||
test-react-router-e2e:
|
test-react-router-e2e:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
apps: [reactrouter5]
|
||||||
needs: [build-react, build-react-router]
|
needs: [build-react, build-react-router]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -207,8 +211,23 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: feature-7.0
|
ref: feature-7.0
|
||||||
- uses: ./.github/workflows/actions/test-react-router-e2e
|
- uses: ./.github/workflows/actions/test-react-router-e2e
|
||||||
|
with:
|
||||||
|
app: ${{ matrix.apps }}
|
||||||
|
|
||||||
|
verify-test-react-router-e2e:
|
||||||
|
if: ${{ always() }}
|
||||||
|
needs: test-react-router-e2e
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check build matrix status
|
||||||
|
if: ${{ needs.test-react-router-e2e.result != 'success' }}
|
||||||
|
run: exit 1
|
||||||
|
|
||||||
test-react-e2e:
|
test-react-e2e:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
apps: [react17, react18]
|
||||||
needs: [build-react, build-react-router]
|
needs: [build-react, build-react-router]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -216,3 +235,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: feature-7.0
|
ref: feature-7.0
|
||||||
- uses: ./.github/workflows/actions/test-react-e2e
|
- uses: ./.github/workflows/actions/test-react-e2e
|
||||||
|
with:
|
||||||
|
app: ${{ matrix.apps }}
|
||||||
|
|
||||||
|
verify-test-react-e2e:
|
||||||
|
if: ${{ always() }}
|
||||||
|
needs: test-react-e2e
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check build matrix status
|
||||||
|
if: ${{ needs.test-react-e2e.result != 'success' }}
|
||||||
|
run: exit 1
|
||||||
|
Reference in New Issue
Block a user