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 python suites #1164

Merged
merged 2 commits into from
Mar 31, 2024
Merged

Fix python suites #1164

merged 2 commits into from
Mar 31, 2024

Conversation

jmthomas
Copy link
Member

No description provided.

@jmthomas jmthomas requested a review from ryanmelt March 30, 2024 20:39
@@ -2125,6 +2125,7 @@ class TestSuite(Suite):
let pythonRegex2 = new RegExp(
'^\\s*(if|def|while|else|elif|class).*:\\s*$',
)
let pythonRegex3 = new RegExp('\\(f"') // f strings
Copy link
Member Author

Choose a reason for hiding this comment

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

(f" doesn't exist anywhere in our ruby code

Copy link

codecov bot commented Mar 30, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 74.98%. Comparing base (1ae95b7) to head (5cc198a).
Report is 3 commits behind head on main.

Files Patch % Lines
...riptrunner/src/tools/ScriptRunner/ScriptRunner.vue 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1164      +/-   ##
==========================================
- Coverage   75.00%   74.98%   -0.02%     
==========================================
  Files         595      595              
  Lines       43914    43917       +3     
  Branches      757      758       +1     
==========================================
- Hits        32939    32933       -6     
- Misses      10892    10900       +8     
- Partials       83       84       +1     
Flag Coverage Δ
frontend 55.13% <33.33%> (-0.24%) ⬇️
python 83.05% <ø> (+0.03%) ⬆️
ruby-api 48.71% <ø> (ø)
ruby-backend 80.05% <ø> (ø)

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.

if (
result.exceptions and group_class.abort_on_exception
) or result.stopped:
raise StopScript
Copy link
Member Author

Choose a reason for hiding this comment

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

Lots of bad indentation was breaking running Groups and Suites

Copy link

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@jmthomas jmthomas merged commit 3c08059 into main Mar 31, 2024
24 checks passed
@jmthomas jmthomas deleted the python_suite branch March 31, 2024 03:40
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.

2 participants