Skip to content

Commit

Permalink
try with venv
Browse files Browse the repository at this point in the history
  • Loading branch information
helgee committed Nov 19, 2024
1 parent e3f1683 commit 299b01a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Generate virtual environment
run: python -m venv .venv
- name: Build Python wrapper
uses: PyO3/maturin-action@v1
with:
command: develop
args: --extras dev -m crates/lox-space/Cargo.toml
- uses: CodSpeedHQ/action@v3
with:
run: pytest crates/lox-space/tests/ --codspeed
run: |
. .venv/bin/activate
pytest crates/lox-space/tests/ --codspeed
token: ${{ secrets.CODSPEED_TOKEN }} # Optional for public repositories

0 comments on commit 299b01a

Please sign in to comment.