fmartingr
/
jeeves
Archived
1
0
Fork 0

Using alpine image for tests

This commit is contained in:
Felipe Martin 2020-05-09 19:58:50 +02:00
parent 3cf76d9f00
commit da75ffd14b
Signed by: fmartingr
GPG Key ID: 716BC147715E716F
1 changed files with 10 additions and 5 deletions

View File

@ -1,13 +1,18 @@
image: archlinux
image: alpine/edge
packages:
- python-poetry
- python3
- python3-dev
- py3-pip
- libffi-dev
- openssl-dev
sources:
- https://git.sr.ht/~fmartingr/jeeves
tasks:
- setup: |
python -V
pip install poetry
python3 -V
cd jeeves
poetry install
$HOME/.local/bin/poetry install
- test: |
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