Skip to content

build(deps): bump astral-sh/setup-uv from 8.3.0 to 8.3.2 #631

build(deps): bump astral-sh/setup-uv from 8.3.0 to 8.3.2

build(deps): bump astral-sh/setup-uv from 8.3.0 to 8.3.2 #631

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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Setup Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: ${{ matrix.python-version }}
- uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Setup Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.11"
- uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Setup Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.11"
- uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
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@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v6
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}