Skip to content

whenxuan: unpin sphinx-github-changelog for Python 3.10 #108

whenxuan: unpin sphinx-github-changelog for Python 3.10

whenxuan: unpin sphinx-github-changelog for Python 3.10 #108

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main, master, develop]
pull_request:
branches: [main, master, develop]
workflow_dispatch:
jobs:
unittest:
name: unittest (Python ${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install package
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Run unit tests
run: python -m unittest discover -s pysdkit/tests -p "test_*.py" -v
timeout-minutes: 30