Skip to content

build(deps): bump yarl from 1.13.1 to 1.15.2 #530

build(deps): bump yarl from 1.13.1 to 1.15.2

build(deps): bump yarl from 1.13.1 to 1.15.2 #530

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"
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@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Update pip
run: pip install -U pip
- name: Install with development dependencies
run: pip install .[cli] -r requirements-dev.txt
- name: Check with pre-commit
run: pre-commit run --all-files
- name: Test
run: pytest
min-dependencies:
runs-on: ubuntu-latest
env:
UV_SYSTEM_PYTHON: 1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Install with development dependencies
run: uv pip install .[cli] -r requirements-dev.txt --resolution lowest-direct
- name: Check with pre-commit
run: pre-commit run --all-files
- name: Test
run: pytest
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
- name: Update pip
run: pip install -U pip
- name: Install with development dependencies
run: pip install .[cli] -r requirements-dev.txt
- name: Test with coverage
run: pytest --cov=stac_asset
- name: Upload coverage reports
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}