-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update asv version. #86
base: main
Are you sure you want to change the base?
Changes from all commits
e9fc0d1
b40805f
41e200c
9b2ce08
dcbebd9
bd41fc8
3e8258b
086b73b
0573568
65e734a
1fd8d8f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -13,8 +13,8 @@ jobs: | |||||
runs-on: ubuntu-latest | ||||||
steps: | ||||||
- name: Checkout | ||||||
uses: actions/checkout@v3 | ||||||
- uses: actions/setup-python@v4 | ||||||
uses: actions/checkout@v4 | ||||||
- uses: actions/setup-python@v5 | ||||||
with: | ||||||
python-version: '3.11' | ||||||
- name: Pull Changes | ||||||
|
@@ -23,21 +23,23 @@ jobs: | |||||
- name: Setup Miniforge | ||||||
uses: conda-incubator/setup-miniconda@v3 | ||||||
with: | ||||||
miniforge-version: "24.1.2-0" | ||||||
activate-environment: asv-bench | ||||||
environment-file: environment.yml | ||||||
- name: Install Requirements | ||||||
run: pip install -r requirements.txt | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Using |
||||||
- name: Cache Django | ||||||
uses: actions/cache@v3 | ||||||
uses: actions/cache@v4 | ||||||
with: | ||||||
path: Django/* | ||||||
key: Django | ||||||
- name: Run Benchmarks | ||||||
shell: bash -l {0} | ||||||
run: |- | ||||||
conda info | ||||||
conda list | ||||||
asv machine --machine ubuntu-latest --yes | ||||||
echo '```' >> $GITHUB_STEP_SUMMARY | ||||||
asv continuous --interleave-processes -a processes=2 --split --show-stderr 'HEAD^' 'HEAD' |\ | ||||||
asv continuous -E conda:asv-bench --interleave-processes -a processes=2 --split --show-stderr 'HEAD^' 'HEAD' |\ | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Used long form attributes. |
||||||
sed -n -E '/(before.*after.*ratio)|(BENCHMARKS)/,$p' >> out.txt | ||||||
cat out.txt >> $GITHUB_STEP_SUMMARY | ||||||
echo '```' >> $GITHUB_STEP_SUMMARY | ||||||
|
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -7,8 +7,8 @@ jobs: | |||||||
runs-on: ubuntu-latest | ||||||||
steps: | ||||||||
- name: Checkout | ||||||||
uses: actions/checkout@v3 | ||||||||
- uses: actions/setup-python@v4 | ||||||||
uses: actions/checkout@v4 | ||||||||
- uses: actions/setup-python@v5 | ||||||||
with: | ||||||||
python-version: '3.11' | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
See above. |
||||||||
- name: Install Requirements | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
See above. |
||||||||
|
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,6 @@ | ||||||||||||||||||
name: django-asv | ||||||||||||||||||
dependencies: | ||||||||||||||||||
- pip | ||||||||||||||||||
- wheel | ||||||||||||||||||
- conda-build | ||||||||||||||||||
- libmambapy | ||||||||||||||||||
Comment on lines
+3
to
+6
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
I only sorted dependencies, it can help in managing them. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
asv==0.6.3 | ||
asv==0.6.4 | ||
pre-commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems ASV support Python 3.12 since version 0.6.2.