Update test duration logger action to work w/ the official pytest-split
@@ -35,24 +35,23 @@ jobs:
${{ runner.os }}-
- name: Install dependencies (pip)
- # TODO: once https://github.com/jerry-git/pytest-split/pull/10
- # is merged, fix the custom pip install for pytest-split.
run: |
pip install wheel
pip install -r requirements/min_requirements_pip.txt
- pip install git+https://github.com/ma-sadeghi/pytest-split.git@fix_ipynb_bug
+ pip install -r requirements/test_requirements.txt
# Install porespy from the checked-out branch
pip install -e . --no-deps
- name: Running tests and examples
run: |
+ rm test/fixtures/.test_durations*
pytest \
--nbval-lax examples/ \
--store-durations \
--durations-path test/fixtures/.test_durations_examples
pytest \
--store-durations \
- --durations-path test/fixtures/.test_durations_unittests
+ --durations-path test/fixtures/.test_durations_unit
- name: Committing test duration files
uses: EndBug/add-and-commit@v7
