Skip to content

build(deps): bump actions/setup-python from 6.3.0 to 7.0.0 (#279) #638

build(deps): bump actions/setup-python from 6.3.0 to 7.0.0 (#279)

build(deps): bump actions/setup-python from 6.3.0 to 7.0.0 (#279) #638

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@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
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@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
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@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
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 }}