|
|
@ -1,17 +1,16 @@
|
|
|
|
kind: pipeline
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
type: docker
|
|
|
|
name: CI Test Pipeline
|
|
|
|
name: CI Test/Lint Pipeline
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: greeting
|
|
|
|
- name: Unit Tests and Linters
|
|
|
|
image: alpine
|
|
|
|
# Bullseye because drone runner host OS is using older libseccomp2 causing issues
|
|
|
|
commands:
|
|
|
|
# with thread allocation. See: https://github.com/docker-library/python/issues/835
|
|
|
|
- echo "Welcome to drone\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Unit Tests
|
|
|
|
|
|
|
|
image: python:3.11-bullseye
|
|
|
|
image: python:3.11-bullseye
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- bash -c './scripts/run_unit_tests.sh'
|
|
|
|
- bash -xc './scripts/run_linters.sh'
|
|
|
|
|
|
|
|
- bash -xc './scripts/run_unit_tests.sh'
|
|
|
|
|
|
|
|
group: test-lint
|
|
|
|
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
event:
|
|
|
|