mirror of
https://github.com/KevinMidboe/cloudflare-ddns.git
synced 2026-01-07 09:45:39 +00:00
24
.drone.yml
24
.drone.yml
@@ -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
|
||||
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user