File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 branches : ["main"]
88
99jobs :
10- test :
10+ lint :
1111 runs-on : ubuntu-latest
1212 permissions :
1313 contents : read
2121 with :
2222 nix_path : nixpkgs=channel:nixos-unstable
2323
24- - name : Verify dev environment
25- run : nix develop --command bash -c "uv --version && python3.11 --version"
26-
2724 - name : Sync dependencies
2825 run : nix develop --command bash -c "uv sync --extra dev"
2926
3330 - name : Check types
3431 run : nix develop --command bash -c "uv run mypy src"
3532
33+ test :
34+ runs-on : ubuntu-latest
35+ permissions :
36+ contents : read
37+ strategy :
38+ matrix :
39+ include :
40+ - python : " 3.11"
41+ tox-env : " py311"
42+ - python : " 3.12"
43+ tox-env : " py312"
44+ - python : " 3.13"
45+ tox-env : " py313"
46+ - python : " 3.14"
47+ tox-env : " py314"
48+
49+ steps :
50+ - name : Checkout code
51+ uses : actions/checkout@v4
52+
53+ - name : Install Nix
54+ uses : cachix/install-nix-action@v27
55+ with :
56+ nix_path : nixpkgs=channel:nixos-unstable
57+
58+ - name : Verify dev environment
59+ run : nix develop --command bash -c "uv --version && python${{ matrix.python }} --version"
60+
61+ - name : Sync dependencies
62+ run : nix develop --command bash -c "uv sync --extra dev"
63+
3664 - name : Run tests
37- run : nix develop --command bash -c "uv run pytest "
65+ run : nix develop --command bash -c "uv run tox -e ${{ matrix.tox-env }} "
You can’t perform that action at this time.
0 commit comments