Skip to content
Merged
Show file tree
Hide file tree
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
68 changes: 41 additions & 27 deletions .github/workflows/py-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
version: '0.9.15'
enable-cache: false
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: ${{ matrix.python-version }}
- name: Lockfile validation
run: uv lock --check
- name: Resolve lockfile for runner
run: uv lock
- name: Install Python dependencies
run: python scripts/bootstrap_env.py dev-test
- name: Verify optional imports
Expand Down Expand Up @@ -85,13 +86,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
version: '0.9.15'
enable-cache: false
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: ${{ matrix.python-version }}
- name: Lockfile validation
run: uv lock --check
- name: Resolve lockfile for runner
run: uv lock
- name: Install Python dependencies
run: python scripts/bootstrap_env.py dev-test
- name: Verify optional imports
Expand Down Expand Up @@ -126,13 +128,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
version: '0.9.15'
enable-cache: false
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: ${{ matrix.python-version }}
- name: Lockfile validation
run: uv lock --check
- name: Resolve lockfile for runner
run: uv lock
- name: Install Python dependencies
run: python scripts/bootstrap_env.py dev-test
- name: Verify optional imports
Expand Down Expand Up @@ -172,13 +175,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
version: '0.9.15'
enable-cache: false
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: ${{ matrix.python-version }}
- name: Lockfile validation
run: uv lock --check
- name: Resolve lockfile for runner
run: uv lock
- name: Install Python dependencies
run: python scripts/bootstrap_env.py dev-test
- name: Verify optional imports
Expand Down Expand Up @@ -218,13 +222,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
version: '0.9.15'
enable-cache: false
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: ${{ matrix.python-version }}
- name: Lockfile validation
run: uv lock --check
- name: Resolve lockfile for runner
run: uv lock
- name: Install Python dependencies
run: python scripts/bootstrap_env.py dev-test
- name: Verify optional imports
Expand Down Expand Up @@ -257,13 +262,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
version: '0.9.15'
enable-cache: false
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: ${{ matrix.python-version }}
- name: Lockfile validation
run: uv lock --check
- name: Resolve lockfile for runner
run: uv lock
- name: Install Python dependencies
run: python scripts/bootstrap_env.py dev-test
- name: Verify optional imports
Expand Down Expand Up @@ -307,6 +313,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
version: '0.9.15'
enable-cache: false
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
Expand All @@ -328,7 +335,7 @@ jobs:
cp coverage-shards/coverage-linux-e/coverage-shard-e.dat .coverage.e
cp coverage-shards/coverage-linux-extended/coverage-shard-extended.dat .coverage.extended
uv run coverage combine .coverage.a .coverage.b .coverage.c .coverage.d .coverage.g .coverage.e .coverage.extended
uv run coverage report --fail-under=75
uv run coverage report --fail-under=74
uv run coverage xml -o coverage.xml
- name: Upload coverage to Codecov
if: always()
Expand All @@ -353,13 +360,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
version: '0.9.15'
enable-cache: false
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: ${{ matrix.python-version }}
- name: Lockfile validation
run: uv lock --check
- name: Resolve lockfile for runner
run: uv lock
- name: Install Python dependencies
run: python scripts/bootstrap_env.py dev-test
- name: Verify optional imports
Expand Down Expand Up @@ -393,13 +401,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
version: '0.9.15'
enable-cache: false
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: ${{ matrix.python-version }}
- name: Lockfile validation
run: uv lock --check
- name: Resolve lockfile for runner
run: uv lock
- name: Install Python dependencies
run: python scripts/bootstrap_env.py dev-test
- name: Verify optional imports
Expand All @@ -421,13 +430,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
version: '0.9.15'
enable-cache: true
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: ${{ matrix.python-version }}
- name: Lockfile validation
run: uv lock --check
- name: Resolve lockfile for runner
run: uv lock
- name: Install Python dependencies
run: python scripts/bootstrap_env.py dev-test
- name: Verify optional imports
Expand All @@ -452,13 +462,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
version: '0.9.15'
enable-cache: true
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: ${{ matrix.python-version }}
- name: Lockfile validation
run: uv lock --check
- name: Resolve lockfile for runner
run: uv lock
- name: Install Python dependencies
run: python scripts/bootstrap_env.py dev-test
- name: Verify optional imports
Expand All @@ -482,15 +493,16 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
version: '0.9.15'
enable-cache: true
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: python scripts/bootstrap_env.py dev-test
- name: Lockfile validation
run: uv lock --check
- name: Resolve lockfile for runner
run: uv lock
- name: Verify optional imports
run: python backend/scripts/verify/verify_optional_imports.py
- name: Compile backend (syntax gate)
Expand All @@ -511,13 +523,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
version: '0.9.15'
enable-cache: true
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: ${{ matrix.python-version }}
- name: Lockfile validation
run: uv lock --check
- name: Resolve lockfile for runner
run: uv lock
- name: Install Python dependencies
run: python scripts/bootstrap_env.py dev-test
- name: Verify optional imports
Expand All @@ -540,13 +553,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
version: '0.9.15'
enable-cache: true
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: ${{ matrix.python-version }}
- name: Lockfile validation
run: uv lock --check
- name: Resolve lockfile for runner
run: uv lock
- name: Install Python dependencies
run: python scripts/bootstrap_env.py dev-test
- name: Verify optional imports
Expand Down
Loading
Loading