We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4355a33 commit 2b36261Copy full SHA for 2b36261
{{cookiecutter.project_name}}/.github/workflows/main.yml
@@ -44,7 +44,11 @@ jobs:
44
python-version: {% raw %}${{ matrix.python-version }}{% endraw %}
45
46
- name: Run tests
47
+{%- if cookiecutter.codecov == "y" %}
48
run: poetry run pytest tests --cov --cov-config=pyproject.toml --cov-report=xml
49
+{%- else %}
50
+ run: poetry run pytest tests
51
+{%- endif %}
52
53
- name: Check typing
54
run: poetry run {{ cookiecutter.typechecking }}
0 commit comments