-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove pytest in favour of testing with Makefile.
Add CI timeout and Py3.7. Add dependabot.
- Loading branch information
Showing
10 changed files
with
256 additions
and
530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: weekly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: "Create Release" | |
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
- "v*" | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
dev-env: | ||
@if [ ! -d "__pypackages__" ]; then pdm install; pdm install --group dev; fi; | ||
test: | ||
rm -rf /tmp/testproject || true | ||
pdm run cookiecutter . --output-dir /tmp --no-input project_name=testproject | ||
cd /tmp/testproject && \ | ||
$(MAKE) run && \ | ||
$(MAKE) test && \ | ||
$(MAKE) build VERSION=0.0.0 && \ | ||
$(MAKE) rm | ||
@echo "All tests passed" | ||
|
||
test: dev-env | ||
pdm run pytest -vv tests | ||
|
||
rm: | ||
rm -rf .mypy_cache/ || true | ||
rm -rf .pytest_cache/ || true | ||
rm -rf __pypackages__/ || true | ||
rm -rf tests/__pycache__/ || true | ||
.PHONY: test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters