Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI with new Ubuntu LTS #3667

Merged
merged 5 commits into from
Oct 12, 2024
Merged
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
12 changes: 9 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@ jobs:
sessions: ${{ steps.set-matrix.outputs.sessions }}
steps:
- uses: actions/checkout@v4
- run: pip install poetry nox nox-poetry
- name: Install uv
uses: astral-sh/setup-uv@v3
- run: uv venv
- run: uv pip install poetry nox nox-poetry
- id: set-matrix
shell: bash
run: |
. .venv/bin/activate
echo sessions=$(
nox --json -t tests -l |
jq 'map(
Expand Down Expand Up @@ -82,7 +86,9 @@ jobs:

benchmarks:
name: 📈 Benchmarks
runs-on: ubuntu-latest

# Using this version because CodSpeed doesn't support Ubuntu 24.04 LTS yet
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand All @@ -99,7 +105,7 @@ jobs:
if: steps.setup-python.outputs.cache-hit != 'true'

- name: Run benchmarks
uses: CodSpeedHQ/action@v2
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: poetry run pytest tests/benchmarks --codspeed
Expand Down
Loading