-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (47 loc) · 1.91 KB
/
testing.yml
File metadata and controls
53 lines (47 loc) · 1.91 KB
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
50
51
52
53
name: Testing
on:
pull_request:
branches:
- main
jobs:
api_breakage:
name: Check API breakage
uses: BinaryBirds/github-workflows/.github/workflows/api_breakage.yml@main
swiftlang_checks:
name: Swiftlang Checks
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@0.0.7
with:
license_header_check_project_name: "project"
format_check_enabled : true
broken_symlink_check_enabled : true
unacceptable_language_check_enabled : true
shell_check_enabled : false
docs_check_enabled : false
api_breakage_check_enabled : false
license_header_check_enabled : false
yamllint_check_enabled : false
python_lint_check_enabled : false
bb_checks:
name: BB Checks
if: ${{ github.actor != 'nektos/act' }}
uses: BinaryBirds/github-workflows/.github/workflows/extra_soundness.yml@main
with:
local_swift_dependencies_check_enabled : true
headers_check_enabled : false
docc_warnings_check_enabled : true
swiftlang_tests:
name: Swiftlang Tests
if: ${{ github.actor != 'nektos/act' }}
strategy:
fail-fast: false
matrix:
traits:
- name: AllTraits
command: "swift test --parallel --enable-code-coverage --enable-all-traits"
- name: NoDefaultTraits
command: "swift test --parallel --enable-code-coverage --disable-default-traits"
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
with:
enable_windows_checks : false
linux_build_command: ${{ matrix.traits.command }}
linux_exclude_swift_versions: "[{\"swift_version\": \"5.8\"}, {\"swift_version\": \"5.9\"}, {\"swift_version\": \"5.10\"}, {\"swift_version\": \"nightly\"}, {\"swift_version\": \"nightly-main\"}, {\"swift_version\": \"6.0\"}, {\"swift_version\": \"nightly-6.0\"}, {\"swift_version\": \"nightly-6.1\"}, {\"swift_version\": \"nightly-6.3\"}]"