Skip to content

Upgrade to Poetry v1.8.0 and make related adjustments #71

Upgrade to Poetry v1.8.0 and make related adjustments

Upgrade to Poetry v1.8.0 and make related adjustments #71

Workflow file for this run

# vim: set ft=yaml ts=2 sw=2 expandtab:
# On GHA, the Linux runners are *much* faster and more reliable, so we only run the full matrix build there
name: Test Suite
on:
push:
branches:
- master
tags:
- "v*"
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
linux-build-and-test:
name: "Linux"
uses: pronovic/gha-shared-workflows/.github/workflows/poetry-build-and-test.yml@v3
secrets: inherit
with:
matrix-os-version: "[ 'ubuntu-latest' ]"
matrix-python-version: "[ '3.9', '3.10', '3.11', '3.12' ]" # run Linux tests on all supported Python versions
poetry-version: "1.8.0"
enable-coveralls: true # only report to coveralls.io for tests that run on Linux
macos-build-and-test:
name: "MacOS"
uses: pronovic/gha-shared-workflows/.github/workflows/poetry-build-and-test.yml@v3
secrets: inherit
with:
matrix-os-version: "[ 'macos-latest' ]"
matrix-python-version: "[ '3.12' ]" # only run MacOS tests on latest Python
poetry-version: "1.8.0"
enable-coveralls: false
release:
name: "Release"
if: github.ref_type == 'tag'
uses: pronovic/gha-shared-workflows/.github/workflows/poetry-release.yml@v3
needs: [ linux-build-and-test, macos-build-and-test ]
secrets: inherit
with:
python-version: "3.9"
poetry-version: "1.8.0"
publish-pypi: true