Skip to content

First inital pytests and github workflow #1

First inital pytests and github workflow

First inital pytests and github workflow #1

Workflow file for this run

name: Test on Pull Request
on:
pull_request:
jobs:
test:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest pytest-cov pygments
- name: Make test script executable
run: chmod +x ./test.sh
- name: Run tests
run: ./test.sh
- name: Upload coverage reports
uses: actions/upload-artifact@v4
with:
name: coverage-report-python-${{ matrix.python-version }}
path: test_reports/coverage/