use pre-built dervish-ci image with pytest; no pip install in pipeline
This commit is contained in:
parent
6191427983
commit
701c5649c7
2 changed files with 5 additions and 2 deletions
|
|
@ -3,7 +3,8 @@ when:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
test:
|
test:
|
||||||
image: python:3.11-slim
|
image: forgejo.corentic.eu/tobi/dervish-ci:latest
|
||||||
|
environment:
|
||||||
|
PYTHONPATH: .
|
||||||
commands:
|
commands:
|
||||||
- pip install --no-cache-dir --editable . pytest
|
|
||||||
- python -m pytest tests/ -v
|
- python -m pytest tests/ -v
|
||||||
|
|
|
||||||
2
Dockerfile.ci
Normal file
2
Dockerfile.ci
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
FROM python:3.11-slim
|
||||||
|
RUN pip install --no-cache-dir pytest
|
||||||
Loading…
Add table
Reference in a new issue