Merge pull request #3 from KevinMidboe/feat/test

Feat: Tests 🧪
This commit is contained in:
2024-02-12 12:34:36 +01:00
committed by Kevin Midboe
16 changed files with 295 additions and 76 deletions

View File

@@ -1,3 +1,21 @@
---
kind: pipeline
type: docker
name: Test
platform:
os: linux
arch: amd64
steps:
- name: Run unit tests
image: python:3.10-alpine
commands:
- pip install -r requirements.txt
- pip install -r requirements-test.txt
- python3 -m unittest tests/test_*.py -v
---
kind: pipeline
type: docker
@@ -31,6 +49,9 @@ trigger:
branch:
- main
depends_on:
- Test
---
kind: pipeline
type: docker
@@ -91,6 +112,7 @@ trigger:
- main
depends_on:
- Test
- Publish
volumes:
@@ -99,6 +121,6 @@ volumes:
---
kind: signature
hmac: d3088aaf784f4eaac3223f43a86a19bfccff416fd854351c527d785002ae2c26
hmac: 2fb50ffa037eb368bcf6d596ced4c0ef42cfde413781ee39dd42b5f695396132
...