generated from jnooree/c-like-templ
-
Notifications
You must be signed in to change notification settings - Fork 8
49 lines (42 loc) · 1.1 KB
/
main-test.yaml
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
45
46
47
48
49
#
# Project nurikit - Copyright 2023 SNU Compbio Lab.
# SPDX-License-Identifier: Apache-2.0
#
name: Test main branch
on:
push:
branches:
- main
paths:
- ".github/workflows/main-test.yaml"
- ".github/workflows/_cpp-test-and-coverage.yaml"
- ".github/workflows/_run-clang-tools.yaml"
- "cmake/**"
- "include/**"
- "scripts/**"
- "src/**"
- "test/**"
- "third-party/**"
- ".clang-*"
- "CMakeLists.txt"
defaults:
run:
shell: bash
jobs:
check-want-test:
uses: ./.github/workflows/_check-want-test.yaml
run-clang-tools:
needs: [check-want-test]
if: ${{ needs.check-want-test.outputs.want-test == 'true' }}
uses: ./.github/workflows/_run-clang-tools.yaml
with:
files-changed-only: false
test-and-coverage:
needs: [check-want-test]
if: ${{ needs.check-want-test.outputs.want-test == 'true' }}
uses: ./.github/workflows/_cpp-test-and-coverage.yaml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true