Skip to content

Commit

Permalink
Also update benchmark action.
Browse files Browse the repository at this point in the history
  • Loading branch information
kklein committed Jun 24, 2024
1 parent b535141 commit 5347f2a
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,16 @@ jobs:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Checkout branch
uses: actions/checkout@v4
- name: Set up pixi
uses: prefix-dev/[email protected]
with:
ref: main
fetch-depth: 0
- name: Setup conda
uses: mamba-org/setup-micromamba@v1
with:
condarc-file: .github/assets/.condarc
environment-file: benchmarks/environment.yml
- name: Install package
run: python -m pip install -e .
- name: Run benchmark.py
run: python benchmarks/benchmark.py
environments: default lint
- name: Install repository
run: |
pixi run -e default postinstall
pixi run -e default python benchmarks/benchmark.py
- name: Update readme.md
run: |
line_number=`grep "| T-learner" benchmarks/readme.md -n | cut -f1 -d:`
Expand Down

0 comments on commit 5347f2a

Please sign in to comment.