Skip to content

build(deps): bump soupsieve from 2.8.3 to 2.8.4 #699

build(deps): bump soupsieve from 2.8.3 to 2.8.4

build(deps): bump soupsieve from 2.8.3 to 2.8.4 #699

Workflow file for this run

# SPDX-FileCopyrightText: 2022-2026 Arcangelo Massari <arcangelo.massari@unibo.it>
#
# SPDX-License-Identifier: ISC
name: Run tests
on:
push:
branches:
- "**" # All branches, including those with /
pull_request:
branches: [master]
permissions:
contents: read
jobs:
CheckCoverage:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install UV
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
python-version: ${{ matrix.python-version }}
- name: Install Python
run: uv python install
- name: Install project dependencies
run: uv sync --locked --all-extras --dev
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libncurses6
- name: Set up Docker
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
- name: Run tests with coverage
run: |
uv run coverage run --rcfile=test/coverage/.coveragerc
uv run coverage xml
uv run coverage report
- name: Generate HTML coverage report
if: matrix.python-version == '3.12'
run: uv run coverage html -d htmlcov
- name: Generate coverage badge
if: matrix.python-version == '3.12'
run: uv run genbadge coverage -i coverage.xml -o coverage-badge.svg
- name: Upload coverage report
if: matrix.python-version == '3.12' && github.ref == 'refs/heads/master'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: coverage-report
path: htmlcov
- name: Upload coverage badge
if: matrix.python-version == '3.12' && github.ref == 'refs/heads/master'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: coverage-badge
path: coverage-badge.svg