Skip to content

docs: pin CI badges to main branch #486

docs: pin CI badges to main branch

docs: pin CI badges to main branch #486

Workflow file for this run

name: Tests
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.14]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install UV
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache UV
uses: actions/cache@v4
with:
path: ~/.cache/uv
key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
- name: Install dependencies
run: |
uv sync --extra dev
- name: Run pytest with coverage
run: |
uv run python -m pytest -v --cov=drillapi --cov-report=term