Skip to content

✨ Use dedicated logger (#483) #252

✨ Use dedicated logger (#483)

✨ Use dedicated logger (#483) #252

name: "unittests"
on:
push:
paths:
- '**.py'
pull_request:
branches: ["main"]
jobs:
build:
strategy:
matrix:
# macos-latest currently has issues (https://github.com/actions/setup-python/issues/855)
os: [ubuntu-latest, windows-latest, macos-13]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test]
- name: Test with pytest
run: |
pytest tests