Skip to content

build(deps): bump astral-sh/setup-uv from 8.1.0 to 8.2.0 (#687) #57

build(deps): bump astral-sh/setup-uv from 8.1.0 to 8.2.0 (#687)

build(deps): bump astral-sh/setup-uv from 8.1.0 to 8.2.0 (#687) #57

Workflow file for this run

name: test
on:
push:
branches:
- main
- test-me-*
pull_request:
branches:
- main
# Set permissions at the job level.
permissions: {}
jobs:
check-package:
name: Build & inspect our package.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
persist-credentials: false
- uses: hynek/build-and-inspect-python-package@fe0a0fb1925ca263d076ca4f2c13e93a6e92a33e # v2.17.0
test:
needs: [check-package]
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
name: [
"windows-py310",
"windows-py314",
"windows-pypy3",
"ubuntu-py310-pytestmain",
"ubuntu-py310",
"ubuntu-py311",
"ubuntu-py312",
"ubuntu-py313",
"ubuntu-py314",
"ubuntu-pypy3",
"ubuntu-benchmark",
]
include:
- name: "windows-py310"
python: "3.10"
os: windows-latest
tox_env: "py310"
- name: "windows-py313"
python: "3.13"
os: windows-latest
tox_env: "py313"
- name: "windows-py314"
python: "3.14"
os: windows-latest
tox_env: "py314"
- name: "windows-pypy3"
python: "pypy3.10"
os: windows-latest
tox_env: "pypy3"
- name: "ubuntu-py310-pytestmain"
python: "3.10"
os: ubuntu-latest
tox_env: "py310-pytestmain"
use_coverage: true
- name: "ubuntu-py310"
python: "3.10"
os: ubuntu-latest
tox_env: "py310"
use_coverage: true
- name: "ubuntu-py311"
python: "3.11"
os: ubuntu-latest
tox_env: "py311"
use_coverage: true
- name: "ubuntu-py312"
python: "3.12"
os: ubuntu-latest
tox_env: "py312"
use_coverage: true
- name: "ubuntu-py313"
python: "3.13"
os: ubuntu-latest
tox_env: "py313"
use_coverage: true
- name: "ubuntu-py314"
python: "3.14"
os: ubuntu-latest
tox_env: "py314"
use_coverage: true
- name: "ubuntu-pypy3"
python: "pypy3.10"
os: ubuntu-latest
tox_env: "pypy3"
use_coverage: true
- name: "ubuntu-benchmark"
python: "3.10"
os: ubuntu-latest
tox_env: "benchmark"
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Download built packages from the check-package job.
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: Packages
path: dist
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install tox coverage
- name: Test without coverage
if: "! matrix.use_coverage"
shell: bash
run: "tox run --installpkg dist/*.whl"
env:
TOX_ENV: ${{ matrix.tox_env }}
- name: Test with coverage
if: "matrix.use_coverage"
shell: bash
run: "tox run --installpkg dist/*.whl"
env:
TOX_ENV: ${{ matrix.tox_env }}-coverage
- name: Upload coverage
if: matrix.use_coverage && github.repository == 'pytest-dev/pluggy'
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
continue-on-error: true
with:
fail_ci_if_error: true
files: ./coverage.xml
verbose: true