saving work
parent
b1df639e37
commit
7ac43519c7
@ -0,0 +1,23 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: CI Test Pipeline
|
||||
|
||||
steps:
|
||||
- name: greeting
|
||||
image: alpine
|
||||
commands:
|
||||
- echo "Welcome to drone\n"
|
||||
|
||||
- name: Unit Tests
|
||||
image: python:3.8-buster
|
||||
commands:
|
||||
- bash -c './ci_scripts/run_unit_tests.sh'
|
||||
|
||||
trigger:
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
# Secrets used to pull private images
|
||||
image_pull_secrets:
|
||||
- dockerconfigjson
|
@ -0,0 +1,9 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
source "$(dirname "$0")/_common.sh"
|
||||
|
||||
_setup_env
|
||||
|
||||
${VIRTUAL_ENV}/bin/python -m pytest -vv --cov "$@"
|
@ -0,0 +1,9 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
source "$(dirname "$0")/_common.sh"
|
||||
|
||||
_setup_env
|
||||
|
||||
${VIRTUAL_ENV}/bin/python -m pytest -vv --cov "$@"
|
Loading…
Reference in New Issue