chore: add E2E rollup job and exempt emdashbot from PR compliance (#132)
Add a rollup job that gates on all 8 E2E shards so it can be a single required check. Exempt emdashbot from PR template validation alongside dependabot and renovate.
This commit is contained in:
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -166,6 +166,19 @@ jobs:
|
|||||||
if: steps.playwright-cache.outputs.cache-hit != 'true'
|
if: steps.playwright-cache.outputs.cache-hit != 'true'
|
||||||
- run: pnpm run --filter @emdash-cms/admin test
|
- run: pnpm run --filter @emdash-cms/admin test
|
||||||
|
|
||||||
|
test-e2e-rollup:
|
||||||
|
name: E2E Tests
|
||||||
|
if: always()
|
||||||
|
needs: [test-e2e]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check E2E shard results
|
||||||
|
run: |
|
||||||
|
if [ "${{ needs.test-e2e.result }}" != "success" ]; then
|
||||||
|
echo "E2E tests failed or were cancelled"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
test-e2e:
|
test-e2e:
|
||||||
name: E2E tests (${{ matrix.shardIndex }}/${{ matrix.shardTotal }})
|
name: E2E tests (${{ matrix.shardIndex }}/${{ matrix.shardTotal }})
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
2
.github/workflows/pr-compliance.yml
vendored
2
.github/workflows/pr-compliance.yml
vendored
@@ -11,7 +11,7 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
check-pr:
|
check-pr:
|
||||||
name: Validate PR
|
name: Validate PR
|
||||||
if: github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]'
|
if: github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' && github.actor != 'emdashbot[bot]'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check PR template
|
- name: Check PR template
|
||||||
|
|||||||
Reference in New Issue
Block a user