You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cookiecutter-basic/{{cookiecutter.project_slug}}/.drone.yml

23 lines
539 B
YAML

kind: pipeline
type: docker
name: CI Test/Lint Pipeline
steps:
- 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 -xc './scripts/run_linters.sh'
- bash -xc './scripts/run_unit_tests.sh'
group: test-lint
trigger:
event:
- pull_request
- push
# Secrets used to pull private images
image_pull_secrets:
- dockerconfigjson