Skip to content

ci: Update Poetry version for GitHub Actions Build #51

ci: Update Poetry version for GitHub Actions Build

ci: Update Poetry version for GitHub Actions Build #51

Workflow file for this run

name: Build
on:
pull_request:
branches:
- v1
push:
branches:
- v1
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
fail-fast: false
matrix:
python-version:
- '3.11'
- '3.10'
- '3.9'
- '3.8'
steps:
- uses: actions/checkout@v1
- 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 | python - -y --version 1.5.1
- name: Install dependencies
run: |
poetry config virtualenvs.create false
poetry install
- name: Run tests
run: python -m pytest tests