diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 241d2fee55..07fbaddeaa 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -14,6 +14,27 @@ jobs: with: name: "python-package-distributions" path: "dist/" + pytest: + strategy: + matrix: + platform: + - "macos-latest" + - "ubuntu-latest" + - "windows-latest" + python: + - "3.10" + - "3.11" + runs-on: ${{ matrix.platform }} + steps: + - uses: "actions/checkout@v4" + - uses: "actions/setup-python@v5" + with: + python-version: ${{ matrix.python }} + - run: "python -m pip install --editable '.[test]'" + - run: "python -m pytest" + - env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + uses: "codecov/codecov-action@v3" pypi: environment: name: "pypi.org" @@ -58,7 +79,7 @@ jobs: - uses: "chartboost/ruff-action@v1" with: args: "format --check" - test-pypi: + testpypi: environment: name: "test.pypi.org" url: "https://test.pypi.org/project/beignet"