File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,15 @@ jobs:
17
17
- uses : actions/checkout@v2
18
18
- name : Set code coverage path
19
19
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
21
23
uses : paulofaria/codeclimate-action@master
22
24
env :
23
25
CC_TEST_REPORTER_ID : ${{secrets.CC_TEST_REPORTER_ID}}
24
26
with :
25
27
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
27
29
coverageLocations : ${{ env.codecov_path }}:lcov-json
28
30
29
31
linux :
You can’t perform that action at this time.
0 commit comments