|
1 | 1 | name: Coveralls Code Coverage |
2 | 2 |
|
3 | 3 | on: |
4 | | - push: |
5 | | - branches: |
6 | | - - main |
7 | | - pull_request: |
8 | | - branches: |
9 | | - - main |
| 4 | + push: |
| 5 | + branches: |
| 6 | + - main |
| 7 | + pull_request: |
| 8 | + branches: |
| 9 | + - main |
10 | 10 |
|
11 | 11 | jobs: |
12 | | - code-coverage-report: |
13 | | - name: Generate and upload coverage report |
14 | | - runs-on: ubuntu-latest |
15 | | - steps: |
16 | | - - name: Checkout PR branch |
17 | | - uses: actions/checkout@v4 |
| 12 | + code-coverage-report: |
| 13 | + name: Generate and upload coverage report |
| 14 | + runs-on: ubuntu-latest |
| 15 | + steps: |
| 16 | + - name: Checkout PR branch |
| 17 | + uses: actions/checkout@v4 |
18 | 18 |
|
19 | | - - name: Setup Job and Install Dependencies |
20 | | - uses: ./.github/actions/setup-job |
| 19 | + - name: Setup Job and Install Dependencies |
| 20 | + uses: ./.github/actions/setup-job |
21 | 21 |
|
22 | | - - name: Install Playwright |
23 | | - run: cd 1st-gen && yarn playwright install --with-deps |
| 22 | + - name: Install Playwright |
| 23 | + run: cd 1st-gen && yarn playwright install --with-deps |
24 | 24 |
|
25 | | - - name: Run unit tests with coverage |
26 | | - run: cd 1st-gen && yarn test:ci --config web-test-runner.config.ci-chromium.js --group coveralls-ci --coverage |
27 | | - continue-on-error: true |
| 25 | + - name: Run unit tests with coverage |
| 26 | + run: cd 1st-gen && yarn test:ci --config web-test-runner.config.ci-chromium.js --group coveralls-ci --coverage |
| 27 | + continue-on-error: true |
28 | 28 |
|
29 | | - - name: Upload coverage to Coveralls |
30 | | - uses: coverallsapp/github-action@v2 |
31 | | - with: |
32 | | - allow-empty: true |
| 29 | + - name: Upload coverage to Coveralls |
| 30 | + uses: coverallsapp/github-action@v2 |
| 31 | + with: |
| 32 | + allow-empty: true |
0 commit comments