Add linters to drone CI

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

@ -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:

Loading…
Cancel
Save