Skip to content

Commit

Permalink
Merge pull request #415 from kedhammar/codecov
Browse files Browse the repository at this point in the history
Merge into separate branch on upstream repo to make repo secrets accessible
  • Loading branch information
kedhammar authored Feb 9, 2024
2 parents 0a6a4b8 + 2f7fd6f commit 003a763
Showing 1 changed file with 9 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 }}

0 comments on commit 003a763

Please sign in to comment.