pyproject: enable all ruff lints #4
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
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
self-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- name: install cookiecutter | |
run: python -m pip install cookiecutter | |
- name: run template | |
run: | | |
cookiecutter --no-input . -o /tmp | |
[[ -d /tmp/python-project ]] || { >&2 echo "not generated?"; exit 1; } | |
cd /tmp/python-project | |
make dev | |
make test | |
make package | |