Skip to content

Commit

Permalink
update triggers for local integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech authored May 31, 2024
1 parent 4edc7aa commit 3e0f9c4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test_local_integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ on:
pr_number:
required: true
type: string
workflow_dispatch:

# When the cancel-in-progress: true option is specified, any concurrent jobs or workflows using the same
# concurrency group will cancel both the pending and currently running jobs or workflows. This allows only
Expand Down Expand Up @@ -193,8 +194,9 @@ jobs:
### CLEANUP AFTER TESTS
- name: Cleanup nebari deployment
# Since this is not critical for most pull requests and takes more than half of the time
# in the CI, it makes sense to only run on merge to main to speed up feedback cycle
if: github.event_name != 'pull_request'
# in the CI, it makes sense to only run on merge to main or workflow_dispatch to speed
# up feedback cycle
if: github.ref_name == 'develop' || github.event_name == 'workflow_dispatch'
working-directory: local-deployment
run: |
nebari destroy --config nebari-config.yaml --disable-prompt

0 comments on commit 3e0f9c4

Please sign in to comment.