Skip to content

Commit a52ea44

Browse files
authored
Merge pull request #505 from intersystems/fix-coverage
Fix coverage
2 parents 3b84d4f + 3856064 commit a52ea44

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
run: |
6464
echo "zpm \"install testcoverage\":1:1" > install-testcoverage
6565
docker exec --interactive $instance iris session $instance -B < install-testcoverage
66+
chmod 777 $GITHUB_WORKSPACE
6667
6768
- name: Build and Test
6869
run: |
@@ -72,7 +73,12 @@ jobs:
7273
echo "do \$System.OBJ.CompilePackage(\"$test_package\",\"ckd\") " > test.script
7374
# Run tests
7475
echo "zpm \"$package test -only $test_flags\":1:1" >> test.script
75-
docker exec --interactive $instance iris session $instance -B < build.script && docker exec --interactive $instance iris session $instance -B < test.script &&bash <(curl -s https://codecov.io/bash)
76+
docker exec --interactive $instance iris session $instance -B < build.script && docker exec --interactive $instance iris session $instance -B < test.script
77+
78+
- name: Upload coverage reports to Codecov with GitHub Action
79+
uses: codecov/[email protected]
80+
env:
81+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
7682

7783
- name: Produce CE Artifact
7884
run: |

0 commit comments

Comments
 (0)