Skip to content
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

Fix eclipse version config validation on komodo tests #8557

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

DanSava
Copy link
Contributor

@DanSava DanSava commented Aug 23, 2024

Issue

  • PR title captures the intent of the changes, and is fitting for release notes.
  • Added appropriate release note label
  • Commit history is consistent and clean, in line with the contribution guidelines.
  • Make sure tests pass locally (after every commit!)

When applicable

  • When there are user facing changes: Updated documentation
  • New behavior or changes to existing untested code: Ensured that unit tests are added (See Ground Rules).
  • Large PR: Prepare changes in small commits for more convenient review
  • Bug fix: Add regression test for the bug
  • Bug fix: Create Backport PR to latest release

@DanSava DanSava force-pushed the fix_eclipse_version_validation_test branch from 8e0bd4a to 4a02d79 Compare August 23, 2024 07:25
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.67%. Comparing base (fbfd095) to head (4a02d79).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8557      +/-   ##
==========================================
- Coverage   90.68%   90.67%   -0.01%     
==========================================
  Files         342      342              
  Lines       20933    20933              
==========================================
- Hits        18983    18981       -2     
- Misses       1950     1952       +2     
Flag Coverage Δ
gui-tests 75.75% <ø> (-0.03%) ⬇️
integration-tests 53.96% <ø> (-0.04%) ⬇️
unit-tests 68.79% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@DanSava DanSava marked this pull request as ready for review August 23, 2024 07:57
@DanSava DanSava self-assigned this Aug 23, 2024
@@ -664,6 +672,7 @@ def test_that_no_error_thrown_when_checking_eclipse_version_and_eclrun_is_not_pr
_ = ErtConfig.with_plugins().from_file(config_file_name)


@pytest.mark.skipif(shutil.which("eclrun") is not None, reason="eclrun is available")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick question, this needs to be skipped due to eco config will be present when ecl_run present?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes the assumptions is eclxxx_config will be present if ecrun is there

Copy link
Contributor

@andreas-el andreas-el left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just the one question. 🎖️

@DanSava DanSava merged commit 4f1d77b into equinor:main Aug 23, 2024
35 checks passed
@DanSava DanSava deleted the fix_eclipse_version_validation_test branch August 23, 2024 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants