Skip to content

Show brief information if a history_limit is set #43

Show brief information if a history_limit is set

Show brief information if a history_limit is set #43

Workflow file for this run

# SPDX-FileCopyrightText: 2023 Thomas Breitner
#
# SPDX-License-Identifier: CC0-1.0
name: Run some tests and update github pages
on:
push:
branches:
- main
pull_request:
workflow_call:
jobs:
tests:
name: Run some tests, checks, formatters
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dev dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -e .[dev]
- name: Test REUSE compliance
run: reuse lint
- name: Check typing
run: python -m mypy .
- name: Run ruff
uses: chartboost/ruff-action@v1
with:
src: "./src"
- name: Run pytest
run: pytest .
ghpages:
uses: ./.github/workflows/ghpages.yml