-
-
Notifications
You must be signed in to change notification settings - Fork 3
44 lines (44 loc) · 968 Bytes
/
test-suite.yml
File metadata and controls
44 lines (44 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: test suite
on:
push:
branches: [main]
paths-ignore:
- 'docs/**'
- '**/*.md'
- 'LICENSE.txt'
- 'OSSMETADATA'
- '.gitattributes'
- '.gitignore'
- '.prettierignore'
pull_request:
branches: ["*"]
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
packages: read
jobs:
lint:
uses: ./.github/workflows/lint.yml
build:
uses: ./.github/workflows/build.yml
unit:
uses: ./.github/workflows/unit.yml
e2e:
strategy:
fail-fast: false
matrix:
shardIndex: [1, 2, 3, 4]
shardTotal: [4]
uses: ./.github/workflows/e2e.yml
with:
shard: ${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
reports:
if: ${{ !cancelled() }}
needs: [e2e]
uses: ./.github/workflows/merge-reports.yml
deploy:
needs: [lint, unit, build, reports]
if: github.ref == 'refs/heads/main'
uses: ./.github/workflows/deploy.yml