Skip to content

feat: enabled multi python version support (#41) #19

feat: enabled multi python version support (#41)

feat: enabled multi python version support (#41) #19

Workflow file for this run

name: Unit Tests
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
on:
pull_request:
branches: [main]
paths:
- "**/*.py"
- "requirements.txt"
- "pyproject.toml"
- ".github/workflows/tests-unit.yaml"
push:
branches: [main]
paths:
- "**/*.py"
- "requirements.txt"
- "pyproject.toml"
- ".github/workflows/tests-unit.yaml"
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
name: unit-tests-python-${{ matrix.python-version }}
steps:
- name: Checkout Code Repository
uses: actions/checkout@v4.2.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.6.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .[dev]
- name: Run unit tests
run: python -m pytest tests/unit