diff --git a/{{cookiecutter.project_slug}}/.drone.yml b/{{cookiecutter.project_slug}}/.drone.yml index 27b9bb5..8ad623e 100644 --- a/{{cookiecutter.project_slug}}/.drone.yml +++ b/{{cookiecutter.project_slug}}/.drone.yml @@ -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: