fix: fix ci runer commands

This commit is contained in:
winkidney
2022-05-04 22:01:21 +08:00
parent 95592e51fa
commit 85939b6567
2 changed files with 7 additions and 4 deletions

View File

@@ -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

View File

@@ -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: