Skip to content

Upgrade flickr-api to 0.8.0 (#170) #253

Upgrade flickr-api to 0.8.0 (#170)

Upgrade flickr-api to 0.8.0 (#170) #253

Workflow file for this run

name: test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv sync --all-extras
- name: Run tests
run: |
uv run coverage run -m pytest
uv run coverage lcov -o coverage/lcov.info
uv run coverage html -d coverage
- name: Archive code coverage results
uses: actions/upload-artifact@v4
with:
name: code-coverage-report-${{ matrix.python-version }}
path: coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}