diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 6470877..7e76589 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -24,11 +24,10 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install poetry - poetry install + pip install -r requirements.txt - name: Lint with flake8 run: | - make flake8 + make flake8-in-ci - name: Django test run: | - make test + make test-in-ci diff --git a/Makefile b/Makefile index 8ce9008..a785a18 100644 --- a/Makefile +++ b/Makefile @@ -29,10 +29,14 @@ install: poetry install test: poetry run python manage.py test +test-in-ci: + python manage.py test shell: poetry run python manage.py shell flake8: poetry run flake8 +flake8-in-ci: + flake8 docs-serve: poetry run mkdocs serve docs-build: