Skip to content

Instantly share code, notes, and snippets.

@rasputnik
Created June 17, 2019 18:06
Show Gist options
  • Select an option

  • Save rasputnik/243f99cae5c407c335df83ff8cb62d3b to your computer and use it in GitHub Desktop.

Select an option

Save rasputnik/243f99cae5c407c335df83ff8cb62d3b to your computer and use it in GitHub Desktop.
steps:
- name: python:3.7-alpine
volumes:
- name: virtualenv
path: /testlibs
args: ['pip', 'install', '-t', '/testlibs', '-r', '/workspace/ci-requirements.txt']
- name: python:3.7-alpine
volumes:
- name: virtualenv
path: /testlibs
entrypoint: /testlibs/bin/pytest
dir: /workspace
env:
- 'PYTHONPATH=/testlibs'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment