Skip to content

Commit 199bda4

Browse files
committed
Allow running ty and ty-jax.
1 parent 058a909 commit 199bda4

File tree

4 files changed

+809
-7
lines changed

4 files changed

+809
-7
lines changed

.github/workflows/main.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ jobs:
2323
cache: true
2424
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
2525
frozen: true
26-
environments: type-checking
26+
environments: type-checking type-checking-jax
2727
- name: Run ty
28-
run: pixi run -e type-checking ty
28+
run: pixi run ty
29+
shell: bash -el {0}
30+
- name: Run ty-jax
31+
run: pixi run ty-jax
2932
shell: bash -el {0}
3033
run-tests:
3134
name: Run tests for ${{ matrix.os }} on ${{ matrix.environment }}

CLAUDE.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ pixi run -e py314-jax tests src/gettsim/tests_germany/test_policy_cases.py
2929
pixi run -e py314-jax tests -k "kindergeld"
3030

3131
# Type checking
32-
pixi run -e type-checking ty
32+
pixi run ty
33+
pixi run ty-jax
3334

3435
# Quality checks (linting, formatting)
3536
pixi run prek run --all-files
@@ -41,7 +42,7 @@ pixi run docs
4142
Before finishing any task that modifies code, always run these three verification steps
4243
in order:
4344

44-
1. `pixi run -e type-checking ty` (type checker)
45+
1. `pixi run ty` and `pixi run ty-jax` (type checker)
4546
1. `pixi run prek run --all-files` (quality checks: linting, formatting, yaml, etc.)
4647
1. `pixi run -e py314-jax tests -n 7` (full test suite)
4748

0 commit comments

Comments
 (0)