Skip to content

[dev]: dedup trackers #404

[dev]: dedup trackers

[dev]: dedup trackers #404

Workflow file for this run

name: Run unittests
on:
pull_request:
permissions: read-all
jobs:
unittests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry manually for Legacy Python (3.8 & 3.9)
if: matrix.python-version == '3.8' || matrix.python-version == '3.9'
run: |
python -m pip install --upgrade "pip<23" "setuptools<60" "virtualenv<20.25" "installer<0.7"
pip install poetry==1.8.5
- name: Set Up Poetry (abatilo) for >= 3.10
if: matrix.python-version != '3.8' && matrix.python-version != '3.9'
uses: abatilo/actions-poetry@e78f54a89cb052fff327414dd9ff010b5d2b4dbd # v3.0.1
with:
poetry-version: 2.1.3
- name: Install dependencies
run: poetry install --sync -v
- name: Run Tests
run: poetry run pytest catalystwan/tests