diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67f78f1..f78b624 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,3 +13,33 @@ jobs: - name: Run Ruff over code uses: chartboost/ruff-action@v1 + + test: + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest] + python-version: + - "3.8" + - "3.9" + - "3.10" + - "3.11" + - "3.12" + + name: Pytest + runs-on: ${{ matrix.os }} + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: python -m pip install .[test] + + - name: Run tests + run: pytest