diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da0d082c..f06c406e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,9 +3,15 @@ name: CI on: push: pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review jobs: tests: + if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} name: Run tests runs-on: ubuntu-22.04 # Needed for Python 3.7 compatibility strategy: