Bump astral-sh/setup-uv from 6.4.3 to 7.0.0 #53
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 Tests | |
on: | |
pull_request: | |
branches: [ "**" ] | |
permissions: | |
contents: write | |
checks: write | |
pull-requests: write | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8edcb1bdb4e267140fa742c62e395cd74f332709 | |
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 | |
with: | |
python-version: '3.13' | |
- uses: launchbynttdata/actions-asdf-install_tools@v0.2.0 | |
with: | |
exclude_tools: "python" | |
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd | |
run-tests: | |
needs: [ pre-commit ] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# Adjust the matrix to test against different or multiple versions. | |
# Note that adding more versions will result in a code coverage report | |
# for each version; you may wish to adjust that step's behavior. | |
python-version: ["3.13"] | |
steps: | |
- uses: actions/checkout@8edcb1bdb4e267140fa742c62e395cd74f332709 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: astral-sh/setup-uv@eb1897b8dc4b5d5bfe39a428a8f2304605e0983c | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
uv sync | |
- name: Test with pytest | |
run: | | |
uv run pytest | |
- name: Report coverage | |
uses: MishaKav/pytest-coverage-comment@13d3c18e21895566c746187c9ea74736372e5e91 | |
with: | |
pytest-xml-coverage-path: ./htmlcov/coverage.xml | |
title: Coverage report for Python ${{ matrix.python-version }} | |
remove-link-from-badge: true | |
unique-id-for-comment: ${{ matrix.python-version }} | |
coverage-path-prefix: src/ |