Making S2gate of lab and lab_dev the same #2716
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs tests | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
paths: | |
- '.github/workflows/tests.yml' | |
- 'mrmustard/**' | |
- 'pyproject.toml' | |
- 'uv.lock' | |
- 'pytest.ini' | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
HYPOTHESIS_PROFILE: ci | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
version: "0.5.23" | |
- name: Run tests | |
run: | | |
uv run --all-extras --group doc pytest --doctest-modules mrmustard/math/parameter_set.py | |
uv run --all-extras --group doc pytest --doctest-modules mrmustard/physics/ansatz | |
uv run --all-extras --group doc pytest --doctest-modules mrmustard/lab_dev |