Compare commits

..

No commits in common. "67f5090bf89e8c2662d5df896d20cccb46c8198f" and "3e32261d4a0e268b7243e2142fff997090893fa4" have entirely different histories.

3 changed files with 5 additions and 10 deletions

View File

@ -7,10 +7,13 @@ steps:
- name: test
image: python:3.10
commands:
- VIRTUAL_ENV=/opt/venv
- "python3 -m venv pip $VIRTUAL_ENV"
- PATH="$VIRTUAL_ENV/bin:$PATH"
- python -m pip install poetry
- poetry install
- poetry env info
- poetry run pytest
- pytest
- name: build container
image: plugins/docker
settings:

2
.gitignore vendored
View File

@ -1,6 +1,4 @@
__pycache__
.mypy_cache
.pytest_cache
.venv
node_modules
package-lock.json

View File

@ -37,10 +37,4 @@ createsuperuser:
python src/web/manage.py createsuperuser
shell:
python src/web/manage.py shell
poetry.lock:
poetry install
test: poetry.lock
poetry run pytest
python src/web/manage.py shell