Skip to content

Commit

Permalink
Testing asv
Browse files Browse the repository at this point in the history
  • Loading branch information
ivargr committed Apr 30, 2024
1 parent 99bb1b5 commit 601defa
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/asv_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
- name: Run asv
uses: actions/checkout@v3
- run: |
git config --global user.email "[email protected]"
git config --global user.name "github action"
git config pull.rebase false
# merge in gh-pages to get old results before generating new
git fetch
git merge origin/gh-pages --strategy-option ours --allow-unrelated-histories
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
pip install .
Expand All @@ -32,14 +38,11 @@ jobs:

- name: Save benchmarks results
run: |
git config --global user.email "[email protected]"
git config --global user.name "github action"
git config pull.rebase false
#git checkout --orphan benchmarks
git fetch
#git fetch
# merge in gh-pages to get old results before generating new
git merge origin/gh-pages --strategy-option ours --allow-unrelated-histories
#git merge origin/gh-pages --strategy-option ours --allow-unrelated-histories
mkdir -p docs/asv
cp -R .asv/html/* docs/asv/
Expand Down

0 comments on commit 601defa

Please sign in to comment.