feat: full upgrade to python3, tests, etc.

This commit is contained in:
2025-04-10 16:08:34 +03:00
parent 6aa17ba957
commit dd9f538bb4
18 changed files with 1200 additions and 240 deletions

35
.github/workflows/python-tests.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: Python tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
permissions: read-all
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
- name: Install dependencies
shell: bash
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov ruff
- name: Run Ruff linting
shell: bash
run: ruff check .
- name: Run tests with coverage
shell: bash
run: |
pytest --cov=aeonview --cov-report=term-missing