Skip to content

Commit

Permalink
Merge pull request #2943 from apalache-mc/igor/disable-coverage
Browse files Browse the repository at this point in the history
Disable code coverage in CI
  • Loading branch information
konnov authored Aug 19, 2024
2 parents 68fd608 + 8113eef commit ab426f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,7 @@ jobs:
# See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-environment-variable
run: echo "APALACHE_HOME=$GITHUB_WORKSPACE" >> $GITHUB_ENV
- name: Build and Unit Test
run: make test-coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
# See https://app.codecov.io/gh/informalsystems/apalache/
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
run: make test
- name: Cleanup before cache
# See https://www.scala-sbt.org/1.x/docs/GitHub-Actions-with-sbt.html#Caching
shell: bash
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ compile-strict: export APALACHE_FATAL_WARNINGS=true
compile-strict:
sbt Test/compile compile

# Run tests with scoverage report
# Run tests with scoverage report.
# This target is not used in the CI anymore. It needs additional devops work to re-enable it.
test-coverage:
sbt coverage test coverageAggregate

Expand Down

0 comments on commit ab426f1

Please sign in to comment.