File tree 4 files changed +119
-214
lines changed
4 files changed +119
-214
lines changed Original file line number Diff line number Diff line change @@ -65,14 +65,14 @@ run: ## run the main script
65
65
# #@ Testing
66
66
67
67
.PHONY : tests
68
- tests : scm-version # # run tests with pytest
68
+ tests : # # run tests with pytest
69
69
@poetry run pytest --doctest-modules
70
70
71
71
.PHONY : tests-cov
72
- tests-cov : scm-version # # run tests with pytest and show coverage (terminal + html)
72
+ tests-cov : # # run tests with pytest and show coverage (terminal + html)
73
73
@poetry run pytest --doctest-modules --cov=src --cov-report term-missing --cov-report=html
74
74
75
- .PHONY : scm-version tests-cov-fail
75
+ .PHONY : tests-cov-fail
76
76
tests-cov-fail : # # run unit tests with pytest and show coverage (terminal + html) & fail if coverage too low & create files for CI
77
77
@poetry run pytest --doctest-modules --cov=src --cov-report term-missing --cov-report=html --cov-fail-under=80 --junitxml=pytest.xml | tee pytest-coverage.txt
78
78
@@ -123,9 +123,6 @@ prerelease-noop: ## release a pre-release without changing anything
123
123
prerelease-ci : # # release a pre-release in CI
124
124
@poetry run semantic-release publish --prerelease -v DEBUG -D commit_author=" github-actions <action@github.com>"
125
125
126
- scm-version : # # returns the version from the setuptools_scm
127
- @poetry run python -m setuptools_scm
128
-
129
126
build : # # build the package
130
127
@poetry build
131
128
@@ -188,6 +185,5 @@ init-project: install-copier install-precommit-hooks ## initialize the project (
188
185
init-git : # # initialize git
189
186
@git init
190
187
191
-
192
188
reinit-project : install-copier # # reinitialize the project
193
189
@copier --answers-file .copier-config.yaml gh:entelecheia/hyperfast-python-template .
You can’t perform that action at this time.
0 commit comments