Compare commits

..

1 Commits

Author SHA1 Message Date
Georg Krause a91eea5922 test: Add test infrastructure and basic model testing
continuous-integration/drone/pr Build was killed Details
continuous-integration/drone/push Build was killed Details
2023-07-26 14:35:57 +02:00
1 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,16 @@
---
kind: pipeline
type: docker
name: test
steps:
- name: test
image: python:3.11
commands:
- pip install poetry
- poetry run pytest --cov-report term-missing --cov=fediverse_blocklist_deploy tests
---
kind: pipeline
type: exec
name: build
@ -8,9 +19,6 @@ platform:
arch: arm64
steps:
- name: test
commands:
- poetry run pytest --cov-report term-missing --cov=fediverse_blocklist_deploy tests
- name: build
commands:
- docker build -t gcrkrause/fediverse-blocklist-deploy .