This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
Release 0.68.0b0 - support for Python 3.12 (#376) #508
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |