Skip to content

Commit 70f6291

Browse files
committed
update workflow
1 parent e8d28ed commit 70f6291

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
xcode-version: latest-stable
3333
- uses: actions/checkout@v3
3434
- name: Build and test
35-
run: swift test --parallel --enable-test-discovery
35+
run: swift test --parallel
3636

3737
linux:
3838
name: Test on Linux
@@ -42,19 +42,20 @@ jobs:
4242
- uses: actions/checkout@v3
4343
- name: Test
4444
run: swift test --enable-code-coverage
45-
- name: Get test coverage html
46-
run: |
47-
llvm-cov show \
48-
$(swift build --show-bin-path)/GraphitiPackageTests.xctest \
49-
--instr-profile $(swift build --show-bin-path)/codecov/default.profdata \
50-
--ignore-filename-regex="\.build|Tests" \
51-
--format html \
52-
--output-dir=.test-coverage
53-
- name: Upload test coverage html
54-
uses: actions/upload-artifact@v4
55-
with:
56-
name: test-coverage-report
57-
path: .test-coverage
45+
# TODO: Add test coverage, but it's currently not working with Swift 6.1.0
46+
# - name: Get test coverage html
47+
# run: |
48+
# llvm-cov show \
49+
# $(swift build --show-bin-path)/GraphitiPackageTests.xctest \
50+
# --instr-profile $(swift build --show-bin-path)/codecov/default.profdata \
51+
# --ignore-filename-regex="\.build|Tests" \
52+
# --format html \
53+
# --output-dir=.test-coverage
54+
# - name: Upload test coverage html
55+
# uses: actions/upload-artifact@v4
56+
# with:
57+
# name: test-coverage-report
58+
# path: .test-coverage
5859

5960
backcompat-ubuntu-22_04:
6061
name: Test Swift ${{ matrix.swift }} on Ubuntu 22.04

0 commit comments

Comments
 (0)