From ff3368beaf7e3bc0e813a6f312f8fb36125af900 Mon Sep 17 00:00:00 2001 From: Aaron Steers Date: Thu, 15 Feb 2024 22:42:53 -0800 Subject: [PATCH] skip tests that require creds when running on forks --- .github/workflows/python_pytest.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python_pytest.yml b/.github/workflows/python_pytest.yml index 02f9c076..d47f5a8b 100644 --- a/.github/workflows/python_pytest.yml +++ b/.github/workflows/python_pytest.yml @@ -8,10 +8,14 @@ on: jobs: pytest: + # Don't run on forks + if: github.repository_owner == 'airbytehq' + runs-on: ubuntu-latest strategy: matrix: python-version: ['3.10', '3.11'] + steps: - name: Checkout code uses: actions/checkout@v4