Skip to content

Commit

Permalink
remove fetch job
Browse files Browse the repository at this point in the history
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
  • Loading branch information
officialasishkumar committed Jul 3, 2024
1 parent 49c1bd0 commit 5d5e93c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ jobs:
- name: Install asv
run: pip install asv

- name: Fetch from upstream master
run: |
git remote add upstream https://github.com/tardis-sn/tardis
git fetch upstream master
- name: Accept all asv questions
run: asv machine --yes

Expand Down Expand Up @@ -108,10 +103,10 @@ jobs:
run: asv run --config asv.conf.json

- name: Compare Master and PR head
run: asv compare upstream/master HEAD --config asv.conf.json | tee asv-compare-output.log
run: asv compare origin/master HEAD --config asv.conf.json | tee asv-compare-output.log

- name: Compare Master and PR head but only show changed results
run: asv compare upstream/master HEAD --only-changed --config asv.conf.json | tee asv-compare-changed-output.log
run: asv compare origin/master HEAD --only-changed --config asv.conf.json | tee asv-compare-changed-output.log

- name: Benchmarks compare output
id: asv_pr_vs_master
Expand Down
2 changes: 1 addition & 1 deletion asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"python setup.py build",
"PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}"
],
"branches": ["upstream/master", "HEAD"],
"branches": ["origin/master", "HEAD"],
"environment_type": "mamba",
"show_commit_url": "https://github.com/tardis-sn/tardis/commit/",
"conda_environment_file": "tardis_env3.yml",
Expand Down

0 comments on commit 5d5e93c

Please sign in to comment.