Skip to content

Commit

Permalink
Don't run integration tests on draft PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
jdangerx committed Sep 8, 2023
1 parent da51425 commit 2696b94
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/tox-pytest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
name: tox-pytest

on: [pull_request]
on:
pull_request:
types:
- created
- opened
- synchronize
- ready_for_review

env:
PUDL_OUTPUT: /home/runner/pudl-work/output
Expand Down Expand Up @@ -101,6 +107,7 @@ jobs:
runs-on:
group: large-runner-group
labels: ubuntu-22.04-4core
if: ${{ !github.event.pull_request.draft || github.event.pull_request.ready_for_review }}
permissions:
contents: read
id-token: write
Expand Down

0 comments on commit 2696b94

Please sign in to comment.