|
22 | 22 | # pytest-qt doesn't seem to be playing well when pyqt5 and pyside6 |
23 | 23 | # are installed in the same environment |
24 | 24 | PYTEST_QT_API: pyqt5 |
25 | | - # workaround for https://github.com/pyxem/pyxem/pull/1175 |
26 | | - TEST_DEPS: '"pytest<9" pytest-qt pytest-xdist pytest-rerunfailures pytest-mpl filelock' |
| 25 | + # pytest<9 is workaround for https://github.com/pyxem/pyxem/pull/1175 |
| 26 | + # tomli is needed for etspy test_version |
| 27 | + # https://github.com/usnistgov/etspy/issues/24 |
| 28 | + TEST_DEPS: '"pytest<9" pytest-qt pytest-xdist pytest-rerunfailures pytest-mpl filelock tomli' |
27 | 29 | CONSTRUCTOR_VERSION: '3.14.0' |
28 | 30 | CONDA_STANDALONE: '24.11.0' |
29 | 31 | ROSETTASCIIO_CACHE_NUMBER: 0 # Increase this value to reset cache |
@@ -381,6 +383,13 @@ jobs: |
381 | 383 | # https://github.com/pyxem/kikuchipy/pull/749 |
382 | 384 | pytest --pyargs kikuchipy -k "not test_not_allow_download_raises and not spherical" |
383 | 385 |
|
| 386 | + - name: Run test etspy |
| 387 | + if: always() |
| 388 | + run: | |
| 389 | + conda activate "${{ env.install_dir }}" |
| 390 | + # https://github.com/usnistgov/etspy/issues/24 |
| 391 | + pytest --pyargs etspy -k "not test_version" |
| 392 | +
|
384 | 393 | - name: Upload Release Asset |
385 | 394 | if: startsWith(github.ref, 'refs/tags/') |
386 | 395 | uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b |
@@ -584,6 +593,13 @@ jobs: |
584 | 593 | # https://github.com/pyxem/kikuchipy/pull/749 |
585 | 594 | pytest --pyargs kikuchipy -k "not test_not_allow_download_raises and not spherical" |
586 | 595 |
|
| 596 | + - name: Run test etspy |
| 597 | + if: always() |
| 598 | + run: | |
| 599 | + call "${{ env.WP_DIR_NAME }}\scripts\env.bat" |
| 600 | + # https://github.com/usnistgov/etspy/issues/24 |
| 601 | + pytest --pyargs etspy -k "not test_version" |
| 602 | +
|
587 | 603 | - name: Upload Release Asset |
588 | 604 | if: startsWith(github.ref, 'refs/tags/') |
589 | 605 | uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b |
|
0 commit comments