Skip to content

Bump actions/upload-artifact from 5 to 6 #254

Bump actions/upload-artifact from 5 to 6

Bump actions/upload-artifact from 5 to 6 #254

Workflow file for this run

name: UnitTests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test-prefab:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.14", "3.13", "3.12", "3.11", "pypy-3.11", "3.10"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e . --group dev
- name: Test with pytest
run: |
pytest tests/ --cov=src/ --cov-report=term-missing
test-stubs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python 3.10
uses: actions/setup-python@v6
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e . --group dev
- name: Check type stub files
run: |
python -m mypy.stubtest ducktools.classbuilder