-
Notifications
You must be signed in to change notification settings - Fork 117
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
Prechecks for asv #2107
Prechecks for asv #2107
Changes from 1 commit
b9d2a22
f6fb5a9
629bad4
8e85ce8
2bf9a15
bf6c8e8
ebcfd50
dea7e07
612db9d
12dae48
650bec2
9c0aafa
76ea676
3d70224
23d6277
97b83ce
9b9bf60
b57c7e3
f3af121
c771b0a
f23a441
3553540
762e09a
9b68459
b7e6e48
7eb0fde
110adac
40c49e3
235760e
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Run ASV Tests Check Python Script | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- 'master' | ||
paths: | ||
- 'python/benchmarks/**' | ||
- 'python/.asv/results/**' | ||
- 'asv.conf.json' | ||
pull_request: | ||
branches-ignore: | ||
- 'master' | ||
paths: | ||
- 'python/benchmarks/**' | ||
- 'python/.asv/results/**' | ||
- 'asv.conf.json' | ||
|
||
jobs: | ||
run-asv-check-script: | ||
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. I agree with @IvoDD,we don't need this to be a separate flow, just a separate job in the analysis_flow. 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. agree makes lots of sence 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. |
||
timeout-minutes: 30 | ||
runs-on: ubuntu-latest | ||
container: ghcr.io/man-group/arcticdb-dev:latest | ||
defaults: | ||
run: {shell: bash} | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
lfs: 'true' | ||
fetch-depth: 0 | ||
submodules: recursive | ||
token: ${{ secrets.ARCTICDB_TEST_PAT }} | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: Install ASV | ||
shell: bash -el {0} | ||
run: | | ||
git config --global --add safe.directory . | ||
python -m pip install --upgrade pip | ||
pip install asv | ||
|
||
- name: Run ASV Tests Check script | ||
run: | | ||
python python/utils/asv_checks.py | ||
continue-on-error: false |
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.
I think if you call this "ASV Linting" or something it will be more obvious to people that it doesn't actually run the benchmarks
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.
ok, but note that this does something additional as check of versions of benchmark tests ... see bellow