Skip to content

build(deps): bump js-yaml from 4.1.1 to 4.3.0 in /docs-site #125

build(deps): bump js-yaml from 4.1.1 to 4.3.0 in /docs-site

build(deps): bump js-yaml from 4.1.1 to 4.3.0 in /docs-site #125

Workflow file for this run

name: Test
on:
push:
branches-ignore:
- main
pull_request:
branches:
- main
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
permissions:
contents: read
checks: write
jobs:
test:
name: Run unit tests (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev
- name: Run tests
run: |
poetry run pytest --cov=upki_ca --cov-report=xml
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
lint:
name: Lint code
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with lint
- name: Run Ruff linter
run: |
poetry run ruff check .