Compare commits

..

1 Commits

Author SHA1 Message Date
Georg Krause 2dfe44e1f5 test: Add test infrastructure and basic model testing
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2023-07-26 14:29:08 +02:00
1 changed files with 3 additions and 11 deletions

View File

@ -1,16 +1,5 @@
---
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
@ -19,6 +8,9 @@ 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 .