amazon-braket-sdk-python icon indicating copy to clipboard operation
amazon-braket-sdk-python copied to clipboard

infra: limit installs for dependent-tests.yml

Open AbeCoull opened this issue 2 years ago • 2 comments

Issue #, if available:

Description of changes:

Testing done:

Tests go from an execution of 7-10 mins down to 4.5 minutes.

https://github.com/amazon-braket/amazon-braket-pennylane-plugin-python/pull/219 - The Pennylane Plugin will now install the dependencies which allows the runner to not need to worry about installing them here. This also keeps the test envs consistent across runs.

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

General

  • [ ] I have read the CONTRIBUTING doc
  • [ ] I used the commit message format described in CONTRIBUTING
  • [ ] I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

  • [ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • [ ] I have checked that my tests are not configured for a specific region or account (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AbeCoull avatar Nov 09 '23 23:11 AbeCoull

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 100.00%. Comparing base (cc28083) to head (43599de). :warning: Report is 309 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #792   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          129       129           
  Lines         8532      8532           
  Branches      1908      1908           
=========================================
  Hits          8532      8532           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Nov 09 '23 23:11 codecov[bot]

Associated PR:: https://github.com/amazon-braket/amazon-braket-pennylane-plugin-python/pull/219

AbeCoull avatar Nov 14 '23 20:11 AbeCoull