Skip to content

Update pre-commit requirement from ~3.8 to ~4.0 #442

Update pre-commit requirement from ~3.8 to ~4.0

Update pre-commit requirement from ~3.8 to ~4.0 #442

Workflow file for this run

name: ci
on:
push:
branches: [ master ]
workflow_dispatch:
pull_request:
branches: [ master ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install pylint
run: |
sudo apt update -y
python -m pip install --upgrade pip
pip install pylint
- uses: pre-commit/[email protected]
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install dependencies
run: |
sudo apt update -y
sudo apt install -y libxml2 libxml2-dev libxslt1-dev
python -m pip install --upgrade pip
pip install pytest poetry lxml pyopenmensa deepl
- name: Test with pytest
run: pytest
env:
PYTHONPATH: src/