From 537ccac83cd58028d5adc2bd6caf4930f91b1813 Mon Sep 17 00:00:00 2001 From: Paras Jain Date: Sun, 23 Oct 2022 15:59:42 -0700 Subject: [PATCH] [ci] Remove dependency on test-unit for pull request tests --- .github/workflows/pytest.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 9ebd3a2ca..dac3dc515 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -64,7 +64,6 @@ jobs: # run if push to main or pull request by contributor or pull request target with label 'safe to test' (to avoid running on forks) if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'safe to test')) runs-on: ubuntu-latest - needs: test-unit steps: - uses: actions/checkout@v1 - name: Install poetry @@ -93,7 +92,6 @@ jobs: # run if push to main or pull request by contributor or pull request target with label 'safe to test' (to avoid running on forks) if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'safe to test')) runs-on: ubuntu-latest - needs: test-unit steps: - uses: actions/checkout@v1 - name: Install poetry @@ -123,7 +121,6 @@ jobs: # run if push to main or pull request or pull request target with label 'safe to test' (to avoid running on forks) if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'safe to test')) runs-on: ubuntu-latest - needs: test-unit env: STRATEGY_UUID: pytest-${{ github.run_id }}-${{ github.run_attempt }} steps: