Improve handling of file paths for absolute paths internally #105
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit tests | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: env-dev.yml | |
init-shell: bash | |
cache-environment: true | |
post-cleanup: "all" | |
- name: Test with pytest | |
run: pytest -x -l -ra -k "not slow" --junitxml="TestResults-Rubem.xml" | |
shell: bash -el {0} | |
- name: Upload pytest test results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: pytest-results-rubem | |
path: "TestResults-Rubem.xml" | |
retention-days: 1 | |
if: ${{ always() }} |