diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40abd08..0f1cd48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,6 +141,16 @@ jobs: run: | python setup.py bdist_wheel + - name: Testing wheel + shell: bash + run: | + python -m pip install pytest + python -m pip install --no-index --find-links dist/ fastrlock + mkdir -p "$RUNNER_TEMP/fastrlock-tests" + cp fastrlock/tests/test_*.py "$RUNNER_TEMP/fastrlock-tests/" + cd "$RUNNER_TEMP/fastrlock-tests" + python -m pytest -v . + - name: Release uses: softprops/action-gh-release@v3 if: startsWith(github.ref, 'refs/tags/')