Skip to content

Update GitHub Actions release workflow #116

Update GitHub Actions release workflow

Update GitHub Actions release workflow #116

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
action:
- style
- lint
- test
- coverage
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- uses: actions/cache@v2
id: cache
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ hashFiles('poetry.lock') }}
- run: pip install poetry
- run: poetry install
if: steps.cache.outputs.cache-hit != 'true'
- run: poetry run poe ${{ matrix.action }}