Skip to content

Commit 242e770

Browse files
add codecov
codecov report upload was missed
1 parent 83911a2 commit 242e770

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

{{cookiecutter.project_slug}}/.github/workflows/dev.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@ name: dev build CI
44

55
# Controls when the action will run.
66
on:
7-
# Triggers the workflow on push or pull request events but only for the master branch
7+
# Triggers the workflow on push or pull request events
88
push:
99
branches:
1010
- '*'
1111
pull_request:
1212
branches:
1313
- '*'
14-
1514
# Allows you to run this workflow manually from the Actions tab
1615
workflow_dispatch:
1716

@@ -60,7 +59,7 @@ jobs:
6059
python -m pip install --upgrade pip
6160
pip install tox tox-gh-actions poetry
6261
63-
# declare env.package_version, env.package_version, env.repo_owner, env.repo_name, env.package_name so you may use it in web hooks.
62+
# declare package_version, repo_owner, repo_name, package_name so you may use it in web hooks.
6463
- name: Declare variables for convenient use
6564
id: variables_step
6665
run: |
@@ -73,6 +72,10 @@ jobs:
7372
- name: test with tox
7473
run: tox
7574

75+
- uses: codecov/codecov-action@v3
76+
with:
77+
fail_ci_if_error: true
78+
7679
publish_dev_build:
7780
# if test failed, we should not publish
7881
needs: test

{{cookiecutter.project_slug}}/.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
python -m pip install --upgrade pip
5050
pip install tox-gh-actions poetry
5151
52-
# declare package_version, package_version, repo_owner, repo_name, package_name so you may use it in web hooks.
52+
# declare package_version, repo_owner, repo_name, package_name so you may use it in web hooks.
5353
- name: Declare variables for convenient use
5454
id: variables_step
5555
run: |

0 commit comments

Comments
 (0)