Skip to content

Commit

Permalink
Merge pull request #416 from SciLifeLab/codecov
Browse files Browse the repository at this point in the history
Implement CodeCoverage
  • Loading branch information
kedhammar authored Feb 14, 2024
2 parents 0a6a4b8 + 66cd572 commit aedbbad
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -21,3 +23,10 @@ jobs:
- name: pytest
# Options are configured in pyproject.toml
run: pytest
- name: CodeCov
run: |
# Replace `linux` below with the appropriate OS
# Options are `alpine`, `linux`, `macos`, `windows`
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${{ secrets.CODECOV_TOKEN }}
4 changes: 4 additions & 0 deletions VERSIONLOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# TACA Version Log

## 20240209.1

Implement CodeCoverage in CI.

## 20240208.2

Implement CI testing and increase testing coverage.
Expand Down

0 comments on commit aedbbad

Please sign in to comment.