1515
1616 strategy :
1717 matrix :
18- python-version : [
19- " 3.9" , "3.10", "3.11", "3.12", "3.13-dev"
20- ]
18+ python-version : ["3.9", "3.10", "3.11", "3.12", "3.13-dev"]
2119 os : [ubuntu-latest, macos-latest, windows-latest]
2220
2321 steps :
4644 - uses : actions-rs/toolchain@v1
4745 with :
4846 toolchain : stable
47+ - name : Print versions
48+ run : cargo version --verbose && cargo clippy --version
4949 - name : Run tests
5050 run : cargo test --no-default-features
5151 working-directory : ./rust
@@ -54,31 +54,31 @@ jobs:
5454 working-directory : ./rust
5555
5656 benchmarks :
57- runs-on : ubuntu-22.04
58- steps :
59- - uses : actions/checkout@v4
57+ runs-on : ubuntu-22.04
58+ steps :
59+ - uses : actions/checkout@v4
6060
61- - name : Install uv
62- uses : astral-sh/setup-uv@v5
61+ - name : Install uv
62+ uses : astral-sh/setup-uv@v5
6363
64- - name : Setup python
65- uses : actions/setup-python@v5
66- with :
67- python-version : " 3.13"
68- allow-prereleases : true
64+ - name : Setup python
65+ uses : actions/setup-python@v5
66+ with :
67+ python-version : " 3.13"
68+ allow-prereleases : true
6969
70- # Temporarily install hardcoded dependencies here.
71- # Codspeed doesn't work well with tox, as it runs the tox installation process as part of the benchmarking
72- # process, which is very slow.
73- - name : Install dependencies
74- run : |
75- python -VV
76- uv venv
77- uv pip install pytest==7.4.4 pyyaml==6.0.1 pytest-codspeed==3.2.0 Django==5.1.1 /home/runner/work/grimp/grimp
70+ # Temporarily install hardcoded dependencies here.
71+ # Codspeed doesn't work well with tox, as it runs the tox installation process as part of the benchmarking
72+ # process, which is very slow.
73+ - name : Install dependencies
74+ run : |
75+ python -VV
76+ uv venv
77+ uv pip install pytest==7.4.4 pyyaml==6.0.1 pytest-codspeed==3.2.0 Django==5.1.1 /home/runner/work/grimp/grimp
7878
79- - name : Run benchmarks
80- uses : CodSpeedHQ/action@v3
81- with :
82- token : ${{ secrets.CODSPEED_TOKEN }}
83- run : |
84- uv run pytest tests/benchmarking/ --codspeed
79+ - name : Run benchmarks
80+ uses : CodSpeedHQ/action@v3
81+ with :
82+ token : ${{ secrets.CODSPEED_TOKEN }}
83+ run : |
84+ uv run pytest tests/benchmarking/ --codspeed
0 commit comments