-
Notifications
You must be signed in to change notification settings - Fork 38
Add performance testing start #220
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
Changes from all commits
d316100
b49265e
833dafe
a1402fa
55df58f
7180a71
ac4bb11
fcd2782
8b72692
2da6ddd
bbf6ee0
fef0b0b
2a1f70b
25c5c3f
ecae5b9
ebeeb9a
e862725
2e1e2e4
f9832cb
3d27b73
d8d4a97
ff27f91
410ca5c
6a17edc
5c7f0e9
be7f340
1845df8
c1fa607
0903e17
03e8bb3
e151c3f
0f21f75
f36677b
a5b5bfa
ae7f36c
cbad83e
5371a3e
db625ec
d283a15
c75e80a
87e70dc
0b4b689
1bcfb0a
6c5b0ee
e3c539a
67f4708
d52e431
488ae45
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,47 @@ | ||
name: Performance-Checks | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
performance-checks: | ||
name: Performance-Tests (Python-${{ matrix.python-version }}, Exasol-${{ matrix.exasol-version}}), Run-${{ matrix.run-number }} | ||
runs-on: ubuntu-24.04 | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.12"] | ||
exasol-version: ["8.32.0"] | ||
run-number: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"] | ||
permissions: | ||
contents: read | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/python-environment@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
extras: "all" | ||
|
||
- name: Start test db | ||
run: > | ||
poetry run -- nox -s db:start -- --db-version ${{ matrix.exasol-version }} | ||
|
||
- name: Run performance tests | ||
run: poetry run -- nox -s performance:test | ||
|
||
- name: Upload Artifacts | ||
uses: actions/[email protected] | ||
with: | ||
name: performance-python${{ matrix.python-version }}-exasol${{ matrix.exasol-version}}-run${{ matrix.run-number }} | ||
path: test/performance/.benchmarks/0002_performance.json | ||
include-hidden-files: true | ||
|
||
- name: Stop test db | ||
run: poetry run -- nox -s db:stop | ||
|
||
- name: Run performance check against saved reference | ||
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. How would we save the file? 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 don't think it makes sense for us to automate step 2-3, as the changes should be considered and purposefully applied. 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. Agreed, we should describe the process in the developer guide |
||
run: poetry run -- nox -s performance:check |
Uh oh!
There was an error while loading. Please reload this page.