Skip to content

Upgrade shared workflow for coveralls changes #185

Upgrade shared workflow for coveralls changes

Upgrade shared workflow for coveralls changes #185

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@v6.0.4

Check failure on line 19 in .github/workflows/test-suite.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-suite.yml

Invalid workflow file

error parsing called workflow ".github/workflows/test-suite.yml" -> "pronovic/gha-shared-workflows/.github/workflows/poetry-build-and-test.yml@v6.0.4" (source tag with sha:f56353ed10ce0f35e754b178a56d742bcb894ed2) : You have an error in your yaml syntax on line 97
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
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@v6.0.4
secrets: inherit
with:
matrix-os-version: "[ 'macos-latest' ]"
matrix-python-version: "[ '3.12' ]" # only run MacOS tests on latest Python
enable-coveralls: false
windows-build-and-test:
name: "Windows"
uses: pronovic/gha-shared-workflows/.github/workflows/poetry-build-and-test.yml@v6.0.4
secrets: inherit
with:
matrix-os-version: "[ 'windows-latest' ]"
matrix-python-version: "[ '3.12' ]" # only run Windows tests on latest Python
enable-coveralls: false
release:
name: "Release"
if: github.ref_type == 'tag'
uses: pronovic/gha-shared-workflows/.github/workflows/poetry-release.yml@v6.0.4
needs: [ linux-build-and-test, macos-build-and-test, windows-build-and-test ]
secrets: inherit
with:
python-version: "3.9"
publish-pypi: true