forked from tardis-sn/tardis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
- Loading branch information
1 parent
72d52e3
commit fb6ed43
Showing
281 changed files
with
1,014 additions
and
1,387 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
import os | ||
import sys | ||
|
||
from parse import * | ||
|
||
input = sys.stdin.readline() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ omit = | |
|
||
tardis/gui/* | ||
tardis/stats/* | ||
|
||
ignore_errors = True | ||
|
||
[html] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ on: | |
- labeled # benchmarks label required | ||
workflow_dispatch: | ||
|
||
env: | ||
env: | ||
DEPLOY_BRANCH: main | ||
|
||
concurrency: | ||
|
@@ -76,8 +76,8 @@ jobs: | |
if: github.event_name != 'pull_request_target' | ||
run: | | ||
git log -n 4 --pretty=format:"%H" >> tag_commits.txt | ||
asv run -a repeat=1 -a rounds=1 HASHFILE:tag_commits.txt | tee asv-output.log | ||
if grep -q failed asv-output.log; then | ||
asv run -a repeat=1 -a rounds=1 HASHFILE:tag_commits.txt | tee asv-output.log | ||
if grep -q failed asv-output.log; then | ||
echo "Some benchmarks have failed!" | ||
exit 1 | ||
fi | ||
|
@@ -107,8 +107,8 @@ jobs: | |
run: | | ||
echo $(git rev-parse HEAD) > commit_hashes.txt | ||
echo $(git rev-parse master) >> commit_hashes.txt | ||
asv run -a repeat=2 -a rounds=1 HASHFILE:commit_hashes.txt | tee asv-output-PR.log | ||
if grep -q failed asv-output-PR.log; then | ||
asv run -a repeat=2 -a rounds=1 HASHFILE:commit_hashes.txt | tee asv-output-PR.log | ||
if grep -q failed asv-output-PR.log; then | ||
echo "Some benchmarks have failed!" | ||
exit 1 | ||
fi | ||
|
@@ -195,7 +195,7 @@ jobs: | |
external_repository: tardis-sn/tardis-benchmarks | ||
user_name: "TARDIS Bot" | ||
user_email: "[email protected]" | ||
|
||
- name: Find Comment | ||
if: always() && github.event_name == 'pull_request_target' | ||
uses: peter-evans/find-comment@v1 | ||
|
@@ -214,10 +214,10 @@ jobs: | |
edit-mode: replace | ||
body: | | ||
*\*beep\* \*bop\** | ||
Hi human, | ||
I ran benchmarks as you asked comparing master (${{ github.event.pull_request.base.sha }}) and the latest commit (${{ github.event.pull_request.head.sha }}). | ||
Hi human, | ||
I ran benchmarks as you asked comparing master (${{ github.event.pull_request.base.sha }}) and the latest commit (${{ github.event.pull_request.head.sha }}). | ||
Here are the logs produced by ASV. | ||
Results can also be downloaded as artifacts [**here**](${{ env.URL }}). | ||
Results can also be downloaded as artifacts [**here**](${{ env.URL }}). | ||
Significantly changed benchmarks: | ||
<details> | ||
|
@@ -234,7 +234,7 @@ jobs: | |
```diff | ||
${{ steps.asv_pr_vs_master.outputs.content }} | ||
``` | ||
</details> | ||
If you want to see the graph of the results, you can check it [**here**](${{ env.URL_PAGES }}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.