Further updates to unit test workflows #30
Workflow file for this run
This file contains hidden or 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: Python Unit Tests | |
| on: | |
| pull_request: | |
| paths: | |
| - '**.py' | |
| - '.github/workflows/python_unit_tests.yaml' | |
| push: | |
| paths: | |
| - '**.py' | |
| - '.github/workflows/python_unit_tests.yaml' | |
| branches: [main, 'releases/**'] | |
| workflow_dispatch: | |
| permissions: read-all | |
| jobs: | |
| python_unit_tests: | |
| name: python_unit_tests | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.14' | |
| cache: 'pip' | |
| - name: Test with pytest | |
| run: | | |
| # Setup git for git_bdiff and get_git_sources testing | |
| git config --global user.name 'Testing' | |
| git config --global user.email 'Testing' | |
| pytest -vv |