Skip to content

Commit

Permalink
Add PYTHON path
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspinder committed Aug 28, 2023
1 parent 6bfe179 commit c82acc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:

- name: Install dependencies
run: |
pip install poetry
poetry install --no-interaction --all-extras --with dev
pip install packaging
pip install virtualenv
Expand All @@ -45,14 +46,14 @@ jobs:
run: |
source .venv/bin/activate
cd benchmarks
asv machine --yes
poetry run asv machine --yes
- name: Run benchmarks
run: |
source .venv/bin/activate
cd benchmarks
asv run
asv publish
poetry run asv run --python PYTHON
poetry run asv publish
- name: Deploy to benchmarks branch
uses: peaceiris/actions-gh-pages@v3
Expand Down
1 change: 1 addition & 0 deletions benchmarks/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"PIP_NO_BUILD_ISOLATION=false python -m pip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}"
],
"branches": ["main"],

"dvcs": "git",
"environment_type": "virtualenv",
"show_commit_url": "https://github.com/jaxgaussianprocesses/gpjax/commit/main",
Expand Down

0 comments on commit c82acc2

Please sign in to comment.