Skip to content

fix(deps): update dependency prek to v0.4.5 #3307

fix(deps): update dependency prek to v0.4.5

fix(deps): update dependency prek to v0.4.5 #3307

Workflow file for this run

# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: Test
on:
push:
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
python-version:
- '3.11'
- '3.12'
- '3.13'
- '3.14'
exclude:
- os: windows-latest
python-version: '3.12'
- os: macos-latest
python-version: '3.12'
- os: windows-latest
python-version: '3.13'
- os: macos-latest
python-version: '3.13'
name: ${{ matrix.os }}, Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
version: 0.11.21
- name: Install pip dependencies
run: uv pip install --system https://github.com/WeblateOrg/language-data/archive/main.zip -e .[dev]
- name: Test
run: |
py.test --cov=translation_finder translation_finder README.rst
- name: Coverage
run: |
coverage xml
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
token: ${{secrets.CODECOV_TOKEN}} # zizmor: ignore[secrets-outside-env]
flags: unittests
name: Python ${{ matrix.python-version }}, ${{ matrix.os }}
- name: DeepSource
if: matrix.os == 'ubuntu-latest'
continue-on-error: true
env:
DEEPSOURCE_DSN: ${{secrets.DEEPSOURCE_DSN}} # zizmor: ignore[secrets-outside-env]
run: |
curl https://deepsource.io/cli | sh
./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml
permissions:
contents: read