diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 2b2095a..99bf499 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -1,6 +1,8 @@ name: Pytest -on: [push, pull_request] +on: + pull_request: + types: [opened, edited, synchronize, reopened, ready_for_review] jobs: build: @@ -22,4 +24,8 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Test with pytest run: | - python -m pytest -v + make test + - name: build and publish to pipi + run: | + poetry publish --build -r testspypi +