Skip to content

[release] next development version: 0.1.2.dev1 #79

[release] next development version: 0.1.2.dev1

[release] next development version: 0.1.2.dev1 #79

Workflow file for this run

name: Python package
on:
push:
branches:
- '**'
tags-ignore:
- '**'
pull_request:
types: [ opened, reopened ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install dependencies
run: |
poetry install
- name: Run tests
run: |
poetry run pytest
- name: Run lints
run: |
poetry run mypy