Skip to content

Test (branch: python-redux) #3

Test (branch: python-redux)

Test (branch: python-redux) #3

Workflow file for this run

name: Test
run-name: "Test (${{ github.event_name == 'pull_request' && format('pr: #{0}', github.event.number) || format('{0}: {1}', startsWith(github.event.ref, 'refs/tags') && 'tag' || 'branch', github.ref_name) }})"
on: push
jobs:
nox:
runs-on: ${{ matrix.os }}
strategy:
matrix:
nox_sessions: ["tests"]
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
python-version: ["3.10", "3.11", "3.12"]
name: ${{ matrix.nox_sessions }} (${{ matrix.python-version }}, ${{ matrix.os }})
steps:
- name: Check the repository out
uses: actions/checkout@v4
- name: Install nox and poetry
run: |
pipx install nox poetry
pipx inject nox nox-poetry
pipx inject poetry poetry-plugin-export
- name: Install Python
uses: actions/setup-python@v5
with:
architecture: x64
cache: poetry
python-version: ${{ matrix.python-version }}
- name: Run nox
run: nox -s ${{ matrix.nox_sessions }}-${{ matrix.python-version }}