Skip to content

Merge pull request #105 from pytest-dev/deploy-env #68

Merge pull request #105 from pytest-dev/deploy-env

Merge pull request #105 from pytest-dev/deploy-env #68

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
package:
runs-on: ubuntu-latest
permissions:
id-token: write
attestations: write
steps:
- uses: actions/checkout@v7
- name: Build and Check Package
uses: hynek/build-and-inspect-python-package@v3.0.1
test:
needs: [package]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v7
- name: Download Package
uses: actions/download-artifact@v8
with:
name: Packages
path: dist
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox
- name: Test
run: |
tox run -e py --installpkg `find dist/*.tar.gz`