Skip to content

Fix documentation deployment for MyST v2 #625

Fix documentation deployment for MyST v2

Fix documentation deployment for MyST v2 #625

# Workflow that runs on code changes to a pull request.
name: PR code changes
on:
pull_request:
branches:
- main
paths:
- policyengine_us_data/**
- tests/**
- .github/workflows/**
- Makefile
jobs:
Lint:
uses: ./.github/workflows/reusable_lint.yaml
SmokeTestForMultipleVersions:
name: Smoke test (${{ matrix.os }}, Python ${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
needs: Lint
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.13']
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package ONLY (no dev deps)
run: python -m pip install .
- name: Test basic import
run: python -c "import policyengine_us_data; print('Minimal import OK')"
- name: Test specific core import
run: python -c "from policyengine_core.data import Dataset; print('Core import OK')"
Test:
needs: Lint
uses: ./.github/workflows/reusable_test.yaml
with:
full_suite: true
upload_data: false
deploy_docs: false
secrets: inherit