Skip to content

Add Jenkinsfile

Add Jenkinsfile #43

Workflow file for this run

---
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
tests:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
python-version:
- 3.7
- 3.8
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Upgrade packaging tools
run: python -m pip install --upgrade pip setuptools virtualenv
- name: Install dependencies
run: python -m pip install --upgrade tox tox-gh-actions
- name: Run tox targets for ${{ matrix.python-version }}
run: python -m tox