Skip to content

Commit

Permalink
further stripping tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kessler-frost committed Nov 24, 2023
1 parent 790e092 commit 2f1f584
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,33 +257,33 @@ jobs:
if: >
steps.modified-files.outputs.dispatcher == 'true'
|| env.BUILD_AND_RUN_ALL
run: PYTHONPATH=$PWD/ pytest -vvs --reruns=5 tests/covalent_dispatcher_tests --cov=covalent_dispatcher --cov-config=.coveragerc
run: PYTHONPATH=$PWD/ pytest -vvs --disable-warnings tests/covalent_dispatcher_tests --cov=covalent_dispatcher --cov-config=.coveragerc

- name: Generate dispatcher coverage report
id: dispatcher-coverage
if: steps.dispatcher-tests.outcome == 'success'
run: coverage xml -o dispatcher_coverage.xml

- name: Run UI backend tests and measure coverage
id: ui-backend-tests
if: >
steps.modified-files.outputs.ui_backend == 'true'
|| env.BUILD_AND_RUN_ALL
run: PYTHONPATH=$PWD/ pytest -vvs --reruns=5 tests/covalent_ui_backend_tests --cov=covalent_ui --cov-config=.coveragerc
# - name: Run UI backend tests and measure coverage
# id: ui-backend-tests
# if: >
# steps.modified-files.outputs.ui_backend == 'true'
# || env.BUILD_AND_RUN_ALL
# run: PYTHONPATH=$PWD/ pytest -vvs --reruns=5 tests/covalent_ui_backend_tests --cov=covalent_ui --cov-config=.coveragerc

- name: Generate UI backend coverage report
id: ui-backend-coverage
if: steps.ui-backend-tests.outcome == 'success'
run: coverage xml -o ui_backend_coverage.xml
# - name: Generate UI backend coverage report
# id: ui-backend-coverage
# if: steps.ui-backend-tests.outcome == 'success'
# run: coverage xml -o ui_backend_coverage.xml

- name: Run UI frontend tests and measure coverage
id: ui-frontend-tests
if: >
steps.modified-files.outputs.ui_frontend == 'true'
|| env.BUILD_AND_RUN_ALL
run: |
cd covalent_ui/webapp
npm test -- --coverage --watchAll=false --maxWorkers=50%
# - name: Run UI frontend tests and measure coverage
# id: ui-frontend-tests
# if: >
# steps.modified-files.outputs.ui_frontend == 'true'
# || env.BUILD_AND_RUN_ALL
# run: |
# cd covalent_ui/webapp
# npm test -- --coverage --watchAll=false --maxWorkers=50%

- name: Dump Covalent logs
if: >
Expand Down

0 comments on commit 2f1f584

Please sign in to comment.