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 - name: test
image: python:3.10 image: python:3.10
commands: commands:
- VIRTUAL_ENV=/opt/venv
- "python3 -m venv pip $VIRTUAL_ENV"
- PATH="$VIRTUAL_ENV/bin:$PATH"
- python -m pip install poetry - python -m pip install poetry
- poetry install - poetry install
- poetry env info - poetry env info
- poetry run pytest - pytest
- name: build container - name: build container
image: plugins/docker image: plugins/docker
settings: settings:

2
.gitignore vendored
View File

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

View File

@ -38,9 +38,3 @@ createsuperuser:
shell: shell:
python src/web/manage.py shell python src/web/manage.py shell
poetry.lock:
poetry install
test: poetry.lock
poetry run pytest