Skip to content

Commit 6e370be

Browse files
committed
Swift: turn on macOS QL tests with slicing
1 parent 5928473 commit 6e370be

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/swift.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,15 @@ jobs:
7272
qltests-macos:
7373
needs: build-macos
7474
runs-on: macos-12-xl
75+
strategy:
76+
fail-fast: false
77+
matrix:
78+
slice: ["1/2", "2/2"]
7579
steps:
7680
- uses: actions/checkout@v3
7781
- uses: ./swift/actions/run-ql-tests
82+
with:
83+
flags: --slice ${{ matrix.slice }}
7884
integration-tests-linux:
7985
needs: build-linux
8086
runs-on: ubuntu-latest

swift/actions/run-ql-tests/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Build Swift CodeQL pack
22
description: Builds the Swift CodeQL pack
3+
inputs:
4+
flags:
5+
description: "Additional `codeql test run` flags"
6+
required: false
7+
default: ""
38
runs:
49
using: composite
510
steps:
@@ -23,6 +28,7 @@ runs:
2328
--check-repeated-labels \
2429
--check-redefined-labels \
2530
--check-use-before-definition \
31+
${{ inputs.flags }} \
2632
ql/test
2733
env:
2834
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)