Skip to content

Commit

Permalink
chore: fix CI to upload to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-tleavitt committed Oct 1, 2024
1 parent 3b84d4f commit 6a3356e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,11 @@ jobs:
echo "do \$System.OBJ.CompilePackage(\"$test_package\",\"ckd\") " > test.script
# Run tests
echo "zpm \"$package test -only $test_flags\":1:1" >> test.script
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)
docker exec --interactive $instance iris session $instance -B < build.script && docker exec --interactive $instance iris session $instance -B < test.script
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Produce CE Artifact
run: |
echo "set version=##class(%ZPM.PackageManager.Developer.Module).NameOpen(\"git-source-control\").VersionString" > package.script
Expand Down

0 comments on commit 6a3356e

Please sign in to comment.