Skip to content

Commit

Permalink
Updated case study because codecov was updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ttimbers authored Jan 17, 2025
1 parent 2f8bbeb commit a9f0a98
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions book/lectures/201-case_study_python.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ jobs:
run: poetry run pytest tests/ --cov={{ cookiecutter.__package_slug }} --cov-report=xml

- name: Use Codecov to track coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml # coverage report
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml # coverage report

- name: Build documentation
run: poetry run make html --directory docs/
Expand All @@ -56,13 +57,17 @@ Let's answer the following questions to start better understanding the `build.ym
4. What is the type of runner

5. What events trigger this workflow?

6. What secrets need to be setup?
:::

:::{.exercise}
Adding the `ci.yml` workflow to your `pypkgs*` repository

Let's add the `ci.yml` workflow to our `pycounts*` repository from week 1!

0. Setup any needed secrets for the workflow.

1. Go to the actions tab for your GitHub repository

2. Click on "*set up a workflow yourself*"
Expand Down

0 comments on commit a9f0a98

Please sign in to comment.