Skip to content

chore: release 0.7.0 (#66) #306

chore: release 0.7.0 (#66)

chore: release 0.7.0 (#66) #306

Workflow file for this run

name: CI
# Triggers on pushes to main, dev and tags.
on:
workflow_dispatch:
push:
branches:
- main
- develop
tags:
- '*'
paths:
# Only run test and docker publish if some code have changed
- 'pyproject.toml'
- 'titiler/**'
- '.pre-commit-config.yaml'
- '.github/workflows/ci.yml'
# Run tests on pull requests.
pull_request:
env:
LATEST_PY_VERSION: '3.11'
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11'] #, '3.12'] #, '3.13']
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: "0.9.*"
enable-cache: true
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv sync
- name: run pre-commit
if: ${{ matrix.python-version == env.LATEST_PY_VERSION }}
run: |
uv run pre-commit run --all-files
- name: Run tests
run: |
uv run pytest --cov=titiler.eopf --cov-report=xml --cov-append --cov-report=term-missing
- name: Upload Results
if: ${{ matrix.python-version == env.LATEST_PY_VERSION }}
uses: codecov/codecov-action@v5
with:
file: ./coverage.xml
flags: unittests
name: ${{ matrix.python-version }}
fail_ci_if_error: false