File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 34
34
run : poetry run pytest tests/ --cov={{ cookiecutter.__package_slug }} --cov-report=xml
35
35
36
36
- name : Use Codecov to track coverage
37
- uses : codecov/codecov-action@v3
37
+ uses : codecov/codecov-action@v5
38
38
with :
39
- files : ./coverage.xml # coverage report
39
+ token : ${{ secrets.CODECOV_TOKEN }}
40
+ files : ./coverage.xml # coverage report
40
41
41
42
- name : Build documentation
42
43
run : poetry run make html --directory docs/
@@ -56,13 +57,17 @@ Let's answer the following questions to start better understanding the `build.ym
56
57
4. What is the type of runner
57
58
58
59
5. What events trigger this workflow?
60
+
61
+ 6. What secrets need to be setup?
59
62
:: :
60
63
61
64
:::{.exercise}
62
65
Adding the `ci.yml` workflow to your `pypkgs*` repository
63
66
64
67
Let's add the `ci.yml` workflow to our `pycounts*` repository from week 1!
65
68
69
+ 0. Setup any needed secrets for the workflow.
70
+
66
71
1. Go to the actions tab for your GitHub repository
67
72
68
73
2. Click on "*set up a workflow yourself*"
You can’t perform that action at this time.
0 commit comments