Skip to content

Commit 6a3356e

Browse files
committed
chore: fix CI to upload to codecov
1 parent 3b84d4f commit 6a3356e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,11 @@ jobs:
7272
echo "do \$System.OBJ.CompilePackage(\"$test_package\",\"ckd\") " > test.script
7373
# Run tests
7474
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-
75+
docker exec --interactive $instance iris session $instance -B < build.script && docker exec --interactive $instance iris session $instance -B < test.script
76+
- name: Upload coverage reports to Codecov with GitHub Action
77+
uses: codecov/[email protected]
78+
env:
79+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
7780
- name: Produce CE Artifact
7881
run: |
7982
echo "set version=##class(%ZPM.PackageManager.Developer.Module).NameOpen(\"git-source-control\").VersionString" > package.script

0 commit comments

Comments
 (0)