Skip to content

Commit 69bbbc8

Browse files
committed
Print versions in CI
1 parent 499be10 commit 69bbbc8

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

.github/workflows/main.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ jobs:
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:
@@ -46,6 +44,8 @@ jobs:
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

Comments
 (0)