Add linters to drone CI

pull/3/head
Drew Bednar 1 year ago
parent f72e0082d8
commit fc6977cf46

@ -1,17 +1,16 @@
kind: pipeline
type: docker
name: CI Test Pipeline
name: CI Test/Lint Pipeline
steps:
- name: greeting
image: alpine
commands:
- echo "Welcome to drone\n"
- name: Unit Tests
- name: Unit Tests and Linters
# Bullseye because drone runner host OS is using older libseccomp2 causing issues
# with thread allocation. See: https://github.com/docker-library/python/issues/835
image: python:3.11-bullseye
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:
event:

Loading…
Cancel
Save