Skip to content

Commit

Permalink
[ci] Remove dependency on test-unit for pull request tests
Browse files Browse the repository at this point in the history
  • Loading branch information
parasj committed Oct 23, 2022
1 parent 7737aa7 commit 537ccac
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 537ccac

Please sign in to comment.