-
Notifications
You must be signed in to change notification settings - Fork 108
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
Run everest tests before publishing to pypi #8756
Conversation
dc48e49
to
5249c3f
Compare
.github/workflows/test_everest.yml
Outdated
python-version: | ||
type: string | ||
test-type: | ||
type: string | ||
|
||
concurrency: |
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 believe this must be removed. The concurrency inherits from build_and_test.yml from now on.
.github/workflows/build_and_test.yml
Outdated
@@ -141,7 +155,7 @@ jobs: | |||
publish: | |||
name: Publish to PyPI | |||
runs-on: ubuntu-latest | |||
needs: [build-wheels, test-linux, test-mac-for-tags, docs-ert] | |||
needs: [build-wheels, test-linux-ert, test-linux-everest, test-mac-for-tags-ert, docs-ert] |
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.
Should probably also have test-mac-for-tags-everest ?
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.
Agree. Will create that aswell
5249c3f
to
4ed0daa
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8756 +/- ##
==========================================
- Coverage 91.40% 91.39% -0.01%
==========================================
Files 343 343
Lines 21087 21087
==========================================
- Hits 19274 19273 -1
- Misses 1813 1814 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
bcf111a
to
c6388e9
Compare
env: | ||
QT_QPA_PLATFORM: 'minimal' | ||
run: | | ||
python -m pytest tests/everest -m "ui_test" | ||
|
||
- name: Build Documentation | ||
if: matrix.test_type == 'doc' | ||
if: inputs.test-type == 'doc' |
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 would suggest maybe combining this and the test doc entry points, and making it a separate step in the build and test workflow, so that it can be run only once for one python version to reduce the number of total workflows run? Similar to how we test the building of the ert docs.
But this can probably be done later in another pr.
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.
Added so docs are only build for py312
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 👍
567cb20
to
8c72c36
Compare
8c72c36
to
0d3c33d
Compare
Issue
Resolves #8744
Approach
Short description of the approach
(Screenshot of new behavior in GUI if applicable)
git rebase -i main --exec 'pytest tests/unit_tests -n logical -m "not integration_test"'
)When applicable