From 88fc5b279125913c391c8f2cdf97be879cb650bc Mon Sep 17 00:00:00 2001 From: Julien Lerat Date: Wed, 1 Nov 2023 20:56:35 +1100 Subject: [PATCH] chore: another pipeline try --- .github/workflows/python-package-conda.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package-conda.yml b/.github/workflows/python-package-conda.yml index 343cf8b0..080d477c 100644 --- a/.github/workflows/python-package-conda.yml +++ b/.github/workflows/python-package-conda.yml @@ -39,20 +39,22 @@ jobs: - name: Run tests run: | + source $CONDA/etc/profile.d/conda.sh conda activate env_mini pytest --cov=hydrodiy --cov-config=.coveragerc --junitxml=junit/test-results.xml --cov-report=xml --cov-report=html hydrodiy - name: Upload pytest test results uses: actions/upload-artifact@v3 with: - name: pytest-results-${{ matrix.python-version }} - path: junit/test-results-${{ matrix.python-version }}.xml + name: pytest-results + path: junit/test-results.xml # Use always() to always run this step to publish test results when there are test failures if: ${{ always() }} - name: Run examples run: | + source $CONDA/etc/profile.d/conda.sh conda activate env_mini python examples/run_all_examples.py