Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/ci-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI Validation

on:
push: {}
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened]

jobs:
test:
if: github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == github.event.repository.default_branch)
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.14"]

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
pip install -e .
pip install pytest

# - name: Run tests
# run: python -m pytest
# TODO: Add tests that exercise the package so pytest can run here before re-enabling this step.

# Build step is the current priority; it verifies packaging succeeds so we can re-enable tests later.
- name: Build distribution
run: python setup.py sdist bdist_wheel