Skip to content

Commit 53489aa

Browse files
committed
Split build from code coverage upload
1 parent d17598b commit 53489aa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ jobs:
1717
- uses: actions/checkout@v2
1818
- name: Set code coverage path
1919
run: echo "codecov_path=$(swift test --show-codecov-path)" >> $GITHUB_ENV
20-
- name: Test and publish code coverage to Code Climate
20+
- name: Build and test
21+
run: swift test --enable-test-discovery --enable-code-coverage
22+
- name: Publish code coverage to Code Climate
2123
uses: paulofaria/codeclimate-action@master
2224
env:
2325
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
2426
with:
2527
downloadUrl: https://github.com/paulofaria/test-reporter/releases/download/0.9.0/test-reporter-0.9.0-darwin-amd64
26-
coverageCommand: swift test --enable-test-discovery --enable-code-coverage
28+
#coverageCommand: swift test --enable-test-discovery --enable-code-coverage
2729
coverageLocations: ${{ env.codecov_path }}:lcov-json
2830

2931
linux:

0 commit comments

Comments
 (0)