Skip to content

[pre-commit.ci] pre-commit suggestions #88

[pre-commit.ci] pre-commit suggestions

[pre-commit.ci] pre-commit suggestions #88

name: Integration tests
on:
push:
branches: [ master ]
pull_request:
defaults:
run:
shell: bash
jobs:
test:
strategy:
matrix:
python-version:
- '3.8.x'
- '3.9.x'
- '3.10.x'
- '3.11.x'
os:
- ubuntu-20.04
- windows-latest
# - macos-latest
runs-on: ${{ matrix.os }}
name: Python ${{ matrix.python-version }} test on ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up python
id: setup-python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/[email protected]
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: poetry install --no-interaction --no-root --with dev
- name: Run tests
run: |
source $VENV
poetry run pytest