Skip to content

Bump uclahs-cds/tool-create-release from 0.0.3 to 1.0.0 in /templates #75

Bump uclahs-cds/tool-create-release from 0.0.3 to 1.0.0 in /templates

Bump uclahs-cds/tool-create-release from 0.0.3 to 1.0.0 in /templates #75

Workflow file for this run

---
name: Run PyTest
on:
pull_request:
branches:
- main
push:
branches:
- main
- nwiltsie-reusable-workflows
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.12"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Run tests
run: |
pip install tox
tox -e py${{matrix.python-version}}
- name: Upload pytest test results
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: "pytest-${{ matrix.python-version }}.xml"
path: junit/test-results.xml
if-no-files-found: error