generated from Tinkoff/angular-open-source-starter
-
Notifications
You must be signed in to change notification settings - Fork 35
35 lines (32 loc) · 855 Bytes
/
test.yml
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
name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
tests:
if: ${{ !contains(github.head_ref, 'release/') }}
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: npx nx run-many --target test --all --coverage
- uses: codecov/[email protected]
with:
directory: ./coverage/core/
flags: summary,core
name: core
- uses: codecov/[email protected]
with:
directory: ./coverage/kit/
flags: summary,kit
name: kit
- uses: codecov/[email protected]
with:
directory: ./coverage/angular/
flags: summary,angular
name: angular
concurrency:
group: test-${{ github.head_ref }}
cancel-in-progress: true