Skip to content

Update log

Update log #3071

Workflow file for this run

name: CI
on: [push, pull_request, workflow_dispatch]
permissions:
actions: none
checks: none
contents: none
deployments: none
discussions: none
id-token: none
issues: none
packages: none
pages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
# - '3.14.0-alpha - 3.14'
- pypy3.8
- pypy3.9
- pypy3.10
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: downgrade ruamel.yaml.clib for 3.8
run: sed 's/ruamel.yaml.clib==.*/ruamel.yaml.clib==0.2.8/' -i requirements.txt
if: contains(matrix.python-version, '3.8')
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
python3 -m pip install flake8 pylint mypy types-{requests,PyYAML} jsonschema
- name: Checkout test recipes
run: git checkout origin/master -- recipes/me.hackerchick.catima.yml
if: github.ref == 'refs/heads/code'
- name: Test
run: make test
- name: Lint logs
run: make lint-logs
if: github.ref == 'refs/heads/log'