Skip to content

Conversation

pavoljuhas
Copy link
Collaborator

@pavoljuhas pavoljuhas commented Oct 29, 2023

  • Add slow marks to the unit tests with over 20 second duration.
  • Adjust ci-daily job so it runs all slow tests.
  • And add ci-daily jobs for Windows and MacOS operating systems
    so that slow tests get tested on those platforms too.

Refs:

Resolves #6211

Also rewrite nested parametrization to a single parametrize decorator
providing the same argument values.
Only apply for the larger (selection_bitsize, target_bitsize) values.
Also rewrite nested parametrization to a single parametrize decorator
with the same argument values.
Also rewrite nested parametrization to a single parametrize decorator
with the same argument values.
@CirqBot CirqBot added the size: M 50< lines changed <250 label Oct 29, 2023
@codecov
Copy link

codecov bot commented Oct 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1eced48) 97.89% compared to head (d3afedf) 97.83%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6331      +/-   ##
==========================================
- Coverage   97.89%   97.83%   -0.07%     
==========================================
  Files        1108     1108              
  Lines       96204    96203       -1     
==========================================
- Hits        94182    94121      -61     
- Misses       2022     2082      +60     
Files Coverage Δ
cirq-ft/cirq_ft/algos/qrom_test.py 100.00% <ø> (ø)
...t/cirq_ft/algos/qubitization_walk_operator_test.py 69.62% <100.00%> (-30.38%) ⬇️
...-ft/cirq_ft/algos/reflection_using_prepare_test.py 61.64% <100.00%> (-38.36%) ⬇️
cirq-ft/cirq_ft/algos/select_swap_qrom_test.py 100.00% <100.00%> (ø)
...ft/cirq_ft/algos/selected_majorana_fermion_test.py 100.00% <100.00%> (ø)
cirq-ft/cirq_ft/algos/state_preparation_test.py 100.00% <100.00%> (ø)
cirq-ft/cirq_ft/algos/unary_iteration_gate_test.py 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

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

…ling

Enable the least slow of 4 test parametrizations.
We run slow-marked cirq-ft tests here so we'd better
test for all supported operating systems.

Also use an explicit `check/pytest -n auto` in case the default
`-n auto` option in that script changes.
@pavoljuhas pavoljuhas marked this pull request as ready for review October 30, 2023 03:57
@pavoljuhas pavoljuhas requested review from vtomole, cduck and a team as code owners October 30, 2023 03:57
Copy link
Collaborator

@tanujkhattar tanujkhattar left a comment

Choose a reason for hiding this comment

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

Thanks!

@pavoljuhas pavoljuhas merged commit 5556e72 into quantumlib:master Oct 30, 2023
@pavoljuhas pavoljuhas deleted the ci-skip-slow-tests branch October 30, 2023 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: M 50< lines changed <250
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI checks are slow, especially pytest and coverage
3 participants