Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

[pre-commit.ci] pre-commit autoupdate #513

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #513

Workflow file for this run

name: Build
on:
push:
branches:
- master
- release/*
pull_request:
jobs:
test:
name: Python ${{ matrix.python-version }}, ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 9
fail-fast: false
matrix:
os: [ ubuntu-latest, macOS-latest, windows-latest ]
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- uses: snok/install-poetry@v1
with:
version: 1.3.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: |
poetry config experimental.new-installer false
poetry install --no-interaction --without dev --without docs
- name: Run tests with Ward
run: |
poetry run coverage run -m ward
poetry run coverage xml -i