Skip to content

Merge pull request #270 from Huber1/master #449

Merge pull request #270 from Huber1/master

Merge pull request #270 from Huber1/master #449

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/