Skip to content

Add some workflow/actions #1

Add some workflow/actions

Add some workflow/actions #1

Workflow file for this run

name: Tests
on:
pull_request:
push:
workflow_dispatch:
workflow_call:
jobs:
black_formatting:
name: Black Format Linting
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Prepare common Python build environment
uses: ./.github/actions/python-build-env-setup
- name: 'Nox: Python Black'
run: |
nox -s black_lint
pytest_all:
name: PyTest with Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Prepare common Python build environment
uses: ./.github/actions/python-build-env-setup
with:
python-version: ${{ matrix.python-version }}
- name: "Nox: Pytest ${{ matrix.python-version }}"
run: |
nox -s pytest-${{ matrix.python-version }}