Skip to content

Commit

Permalink
fixing tests and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kessler-frost committed Jan 22, 2024
1 parent b044c99 commit 34fcebd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ jobs:
--ignore-module=covalent/_dispatcher_plugins
--ignore-module=covalent/_shared_files
--ignore-module=covalent/quantum/**
--ignore-file=covalent/**/q*/**
--ignore-file=covalent/_workflow/q*
--ignore-file=covalent/_shared_files/q*
--ignore-file=covalent/_results_manager/q*
--ignore-file=covalent/_shared_files/pickling.py
--ignore-file=covalent/executor/**
--ignore-file=covalent/triggers/**
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,11 @@ jobs:
- name: Run Qelectron tests and measure coverage
id: qelectron-tests
if: >
steps.modified-files.outputs.qelectron == 'true' && env.COVALENT_DISABLE_QELECTRON != 'true'
|| env.BUILD_AND_RUN_ALL
(steps.modified-files.outputs.qelectron == 'true'
|| env.BUILD_AND_RUN_ALL) && env.COVALENT_DISABLE_QELECTRON != 'true'
run: PYTHONPATH=$PWD/ pytest -vvs --reruns=5 tests/qelectron_tests/core_tests --cov=covalent_qelectron --cov-config=.coveragerc

- name: Generate SDK coverage report
- name: Generate Qelectron coverage report
id: qelectron-coverage
if: steps.qelectron-tests.outcome == 'success' && env.COVALENT_DISABLE_QELECTRON != 'true'
run: coverage xml -o qelectron_coverage.xml
Expand Down

0 comments on commit 34fcebd

Please sign in to comment.