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

Increase minimum runs before coverage report is issued #1596

Merged
merged 3 commits into from Oct 11, 2021

Conversation

tunetheweb
Copy link
Member

@tunetheweb tunetheweb commented Oct 11, 2021

Brief summary of the change made

Noticed codecov is triggering too early. Seems like the Windows run (which is often the last to complete) is needed. Let's just insist on all the tests completing.

Are there any other side effects of this change that we should be aware of?

Nope.

Pull Request checklist

  • Please confirm you have completed any of the necessary steps below.

  • Included test cases to demonstrate any code changes, which may be one or more of the following:

    • .yml rule test cases in test/fixtures/rules/std_rule_cases.
    • .sql/.yml parser test cases in test/fixtures/parser (note YML files can be auto generated with python test/generate_parse_fixture_yml.py or by running tox locally).
    • Full autofix test cases in test/fixtures/linter/autofix.
    • Other.
  • Added appropriate documentation for the change.

  • Created GitHub issues for any relevant followup/future enhancements if appropriate.

@tunetheweb tunetheweb changed the title Increase minimum runs for coverage checks Increase minimum runs before coverage report is issued Oct 11, 2021
@codecov
Copy link

codecov bot commented Oct 11, 2021

Codecov Report

Merging #1596 (fb94178) into main (4b5ce1d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main     #1596   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          131       131           
  Lines         9175      9175           
=========================================
  Hits          9175      9175           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4b5ce1d...fb94178. Read the comment docs.

@tunetheweb
Copy link
Member Author

Upped it to 10. Seems like the Windows one needs to complete and it's often the slowest (though only by a minute or two).

@tunetheweb tunetheweb merged commit 8b5e89d into sqlfluff:main Oct 11, 2021
ttomasz pushed a commit to ttomasz/sqlfluff that referenced this pull request Oct 12, 2021
* Increase minimum runs for coverage checks

* Update to 10
@tunetheweb tunetheweb deleted the increase-coverage-limit branch June 23, 2022 10:18
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.

None yet

2 participants