Skip to content

build(deps): bump astral-sh/setup-uv from 8.0.0 to 8.1.0 #600

build(deps): bump astral-sh/setup-uv from 8.0.0 to 8.1.0

build(deps): bump astral-sh/setup-uv from 8.0.0 to 8.1.0 #600

Workflow file for this run

name: Continuous integration
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
os:
- ubuntu-latest
- macos-latest
exclude: # macos-latest is arm64, which doesn't have these pythons
- os: macos-latest
python-version: "3.10"
fail-fast: true
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: ${{ matrix.python-version }}
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
- name: Sync
run: uv sync --all-extras
- name: pre-commit
run: uv run pre-commit run --all-files
- name: Test
run: uv run pytest
min-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: "3.11"
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
- name: Sync with lowest-direct resolution
run: uv sync --all-extras --resolution lowest-direct
- name: Test
run: uv run pytest
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: "3.11"
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
- name: Sync
run: uv sync --all-extras
- name: Test with coverage
run: uv run pytest --cov=stac_asset
- name: Upload coverage reports
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}