Skip to content

Commit

Permalink
DEBUG GITHUB ACTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
joostvanzwieten committed May 7, 2024
1 parent 32c267f commit b943da3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,12 @@ jobs:
python -um pip install --upgrade --upgrade-strategy eager mkl
python -um devtools.gha.configure_mkl
- name: Test
run: python -um coverage run -m unittest discover -b -q -t . -s tests
run: python -u -m cProfile -o stats -m unittest -b -v tests.test_solver.finitestrain:vector=False.test_minimize_cache
- name: Print profile
shell: python
run: |
import pstats
pstats.Stats('stats').sort_stats('cumulative').print_stats(200)
- name: Post-process coverage
run: python -um devtools.gha.coverage_report_xml
- name: Upload coverage
Expand Down Expand Up @@ -146,7 +151,7 @@ jobs:
# Install Nutils from `dist` dir created in job `build-python-package`.
python -um pip install "$_wheel[matrix_scipy,export_mpl]"
- name: Test
run: python -um unittest discover -b -q -t . -s examples
run: python -um unittest discover -b -v -t . -s examples
test-sphinx:
name: Test building docs
runs-on: ubuntu-latest
Expand Down

0 comments on commit b943da3

Please sign in to comment.