repo-to-text/.github/workflows/tests.yml
Kirill Markin 9cff185a7d
Some checks failed
Run Tests / test (3.11) (push) Has been cancelled
Run Tests / test (3.13) (push) Has been cancelled
Run Tests / test (3.14) (push) Has been cancelled
Run Tests / test (3.9) (push) Has been cancelled
Add Python 3.14 to CI matrix
2026-03-31 04:15:37 +02:00

36 lines
764 B
YAML

name: Run Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.11", "3.13", "3.14"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install tree command
run: sudo apt-get install -y tree
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Run pylint
run: |
pylint repo_to_text
- name: Run tests
run: |
pytest tests/