-
Notifications
You must be signed in to change notification settings - Fork 807
Run tests on Windows in Github Actions #531
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
base: main
Are you sure you want to change the base?
Conversation
386e778 to
51e7caf
Compare
9e679af to
f00d06c
Compare
aabmass
left a comment
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.
LGTM
| self.assertIsNone(client.parent) | ||
| self.assertEqual(client.kind, SpanKind.CLIENT) | ||
| self.assert_span_has_attributes( | ||
| self.assertSpanHasAttributes( |
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.
Can you split the renaming out of this PR? It would make reviews a bit cleaner
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.
open-telemetry/opentelemetry-python#2084
#641
Easiest thing to do right now for me is to merge the above PRs and then rebase this one to shrink the size of the PR. Please review.
|
|
||
| ; opentelemetry-instrumentation-sqlalchemy | ||
| py3{6,7,8,9}-test-instrumentation-sqlalchemy{11,14} | ||
| py3{6,7}-test-instrumentation-sqlalchemy{11} |
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.
@ocelotl was this issue filed?
| | if .[0].benchmarks == null then null else .[0] end' | ||
| **/**/tests/*${{ matrix.package }}*-benchmark.json > output.json | ||
| - name: Report on benchmark results | ||
| # TODO: fix and enable on windows |
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.
Please file an issue to track this
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.
| - name: run tox | ||
| run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- --benchmark-json=${{ env.RUN_MATRIX_COMBINATION }}-benchmark.json | ||
| - name: Find and merge benchmarks | ||
| # TODO: fix and enable on windows |
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.
Please file an issue to track this
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.
8a2955d to
e48eb18
Compare
013adb2 to
ceac768
Compare
|
I'm running into some more issues with pypy on windows. Looking into it. Please DO NOT merge even if all jobs pass. |
b56e6c8 to
c881bf5
Compare
|
Turns out cryptography already published prebuilt binary wheels for windows+pypy+amd64. Using x64 Python fixes the issue and doesn't require us to build it from source. |
@owais Please mark any PR that is not to be merged as draft to avoid accidents ✌️ |
codeboten
left a comment
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.
Thanks for splitting out the PR, makes this review much easier 👍
Description
Run tests on Windows
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.