Skip to content

Commit 65d2508

Browse files
authored
Run make check in workflow to prevent skipping mypy when tox is not enabled (#86)
1 parent 110832b commit 65d2508

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ bake-with-inputs: ## bake with inputs and overwrite if exists.
77
@cookiecutter . --overwrite-if-exists
88

99
.PHONY: bake-and-test-deploy
10-
bake-and-test-deploy:
10+
bake-and-test-deploy: ## For quick publishing to cookiecutter-poetry-example to test GH Actions
1111
@rm -rf cookiecutter-poetry-example || true
1212
@cookiecutter --no-input . --overwrite-if-exists \
1313
author="Florian Maas" \

{{cookiecutter.project_name}}/.github/workflows/main.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,8 @@ jobs:
2222
- name: Set up the environment
2323
uses: ./.github/actions/setup-poetry-env
2424

25-
- name: Run pre-commit
26-
run: poetry run pre-commit run -a --show-diff-on-failure
27-
{% if cookiecutter.deptry == "y" %}
28-
- name: Inspect dependencies
29-
run: poetry run deptry .
30-
{%- endif %}
31-
32-
- name: Check Poetry lock file consistency
33-
run: poetry lock --check
25+
- name: Run checks
26+
run: make check
3427

3528
tox:
3629
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)