Using alpine image for tests
This commit is contained in:
parent
3cf76d9f00
commit
da75ffd14b
|
@ -1,13 +1,18 @@
|
||||||
image: archlinux
|
image: alpine/edge
|
||||||
packages:
|
packages:
|
||||||
- python-poetry
|
- python3
|
||||||
|
- python3-dev
|
||||||
|
- py3-pip
|
||||||
|
- libffi-dev
|
||||||
|
- openssl-dev
|
||||||
sources:
|
sources:
|
||||||
- https://git.sr.ht/~fmartingr/jeeves
|
- https://git.sr.ht/~fmartingr/jeeves
|
||||||
tasks:
|
tasks:
|
||||||
- setup: |
|
- setup: |
|
||||||
python -V
|
pip install poetry
|
||||||
|
python3 -V
|
||||||
cd jeeves
|
cd jeeves
|
||||||
poetry install
|
$HOME/.local/bin/poetry install
|
||||||
- test: |
|
- test: |
|
||||||
cd jeeves
|
cd jeeves
|
||||||
poetry run pytest . --cov=jeeves.core --cov-report html --cov-report term
|
$HOME/.local/bin/poetry run pytest . --cov=jeeves.core --cov-report html --cov-report term
|
||||||
|
|
Reference in New Issue