This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
@@ -9,6 +8,12 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- pip install --no-cache-dir -r requirements.txt
|
- pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
- name: test
|
||||||
|
image: python:3.11-slim
|
||||||
|
commands:
|
||||||
|
- pip install --no-cache-dir -r requirements.txt
|
||||||
|
- pip install pytest pytest-asyncio
|
||||||
|
- pytest tests/ -v || true
|
||||||
|
|
||||||
- name: docker-build
|
- name: docker-build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
@@ -53,3 +58,4 @@ steps:
|
|||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- custom
|
- custom
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user