Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fangchenli committed Oct 20, 2023
1 parent fff2922 commit b863b16
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/test_local_integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ jobs:
with:
fetch-depth: 0

- name: Checkout the branch from the PR that triggered the job
if: ${{ github.event_name == 'issue_comment' }}
run: |
hub version
hub pr checkout ${{ inputs.pr_number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Python
uses: conda-incubator/setup-miniconda@v2
env:
Expand Down Expand Up @@ -116,7 +124,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16

- name: Get nebari-config.yaml full path
run: echo "NEBARI_CONFIG_PATH=`realpath ./local-deployment/nebari-config.yaml`" >> "$GITHUB_ENV"

Expand Down Expand Up @@ -176,6 +184,7 @@ jobs:
### CLEANUP AFTER TESTS
- name: Cleanup nebari deployment
if: always()
working-directory: local-deployment
run: |
cd local-deployment
nebari destroy --config nebari-config.yaml --disable-prompt

0 comments on commit b863b16

Please sign in to comment.