-
-
Notifications
You must be signed in to change notification settings - Fork 5
37 lines (36 loc) · 1.21 KB
/
self-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
36
37
name: Self-test the reusable workflow
on:
workflow_dispatch:
inputs:
with_coverage:
type: boolean
required: false
default: true
description: "Set to 'true' to collect and upload code coverage data. Defaults to 'false'."
with_tsan:
type: boolean
required: false
default: true
description: "Set to 'true' to run tests with Thread Sanitizer. Defaults to 'true'."
with_api_check:
type: boolean
required: false
default: true
description: "Set to 'true' to run the SwiftPM public API breakage check. Defaults to 'true'."
with_gh_codeql:
type: boolean
required: false
default: true
description: "Set to 'true' to run CodeQL checks. Defaults to 'true'."
push: { branches: [ main ] }
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
call-workflow:
uses: ./.github/workflows/run-unit-tests.yml
with:
with_coverage: ${{ inputs.with_coverage || false }}
with_tsan: ${{ inputs.with_tsan || false }}
with_api_check: ${{ inputs.with_api_check || false }}
with_gh_codeql: ${{ inputs.with_gh_codeql || true }}