Skip to content

Commit

Permalink
Replace integration test review trigger with manual trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 committed Aug 29, 2024
1 parent bd09d73 commit 4484b68
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,29 @@ on:
push:
branches:
- "main" # Releases
- "development" # PR merges
- "development" # Feature PR merges
pull_request:
branches:
- "main" # Release pull requests
pull_request_review:
types:
- "submitted"
paths:
- ".github/**"
- "icepyx/**/*.py"
- "pyproject.toml"
- "requirements*.txt"
- "main" # Release PRs
workflow_dispatch:
inputs:
ref:
description: "The ref to test"
type: "string"


jobs:
test:
name: "Integration test"
# Job is conditional:
# - Do not run on PRs from forks
# - Do not run on `pull_request_review` events unless the PR is approved.
if: "${{ !github.event.pull_request.head.repo.fork && (github.event.action != 'pull_request_review' || github.event.review.state == 'approved') }}"
# Do not run on PRs from forks:
if: "${{ !github.event.pull_request.head.repo.fork }}"
runs-on: "ubuntu-latest"

steps:
- uses: "actions/checkout@v4"
with:
fetch-depth: 0
ref: "${{ inputs.ref }}"

- uses: "./.github/actions/install-icepyx"
with:
Expand Down

0 comments on commit 4484b68

Please sign in to comment.