diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index b28b650..6e41802 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -22,3 +22,26 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v2.21.3 + + run_tests: + name: Run tests locally + runs-on: ubuntu-latest + steps: + - name: Checkout the repository + uses: actions/checkout@v4 + with: + submodules: 'recursive' + + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: "3.x" + + - name: Build locally + run: python -m build + + - name: Install locally + run: pip install .[test] + + - name: Run tests + run: pytest