From e1520b59f91eb4bd375d349a1df8db0f24a96f3f Mon Sep 17 00:00:00 2001 From: Samuel Nichols Date: Fri, 22 Mar 2024 17:38:37 -0600 Subject: [PATCH] Run tests on PR only when opening PR (#53) --- .github/workflows/integration_tests.yml | 2 ++ .github/workflows/pylint.yml | 2 ++ .github/workflows/pytest.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index cb9135b0..a9f3442a 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -2,7 +2,9 @@ name: Run Integration Tests on: push: + pull_request: + types: [opened, reopened] jobs: build: diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index ee421c7d..564df075 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -2,7 +2,9 @@ name: Pylint on: push: + pull_request: + types: [opened, reopened] jobs: build: diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index c13c8e7c..5cec2da2 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -2,7 +2,9 @@ name: Run Pytest on: push: + pull_request: + types: [opened, reopened] jobs: build: