Skip to content

Remove caching for Poetry in GitHub Actions workflow #86

Remove caching for Poetry in GitHub Actions workflow

Remove caching for Poetry in GitHub Actions workflow #86

Workflow file for this run

name: Python package
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, 3.12]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: poetry install --with dev --with docs
- name: Run tests
run: poetry run pytest