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 #495

[pre-commit.ci] pre-commit autoupdate

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

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" ]
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/[email protected]
with:
virtualenvs-create: true
- name: Install dependencies
run: |
poetry config experimental.new-installer false
poetry config virtualenvs.in-project true
poetry install --no-interaction
- name: Run tests with Ward
run: |
poetry run coverage run -m ward
poetry run coverage xml -i
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: false