Skip to content

Commit

Permalink
ci(workflow): update logic for integration test latest run on macos r…
Browse files Browse the repository at this point in the history
…unner (#372)
  • Loading branch information
Sarthak-instill authored Oct 16, 2023
1 parent c4175a2 commit 8f33dd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/helm-integration-test-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
make integration-test API_GATEWAY_URL=localhost:${API_GATEWAY_PORT}
helm-integration-test-latest-mac:
if: inputs.target == 'latest' && github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main' && github.event.pull_request.merged == true
if: inputs.target == 'latest' && github.ref == 'refs/heads/main'
runs-on: [self-hosted,macOS,vdp]
steps:
- name: Set up environment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-test-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
make integration-test API_GATEWAY_URL=localhost:${API_GATEWAY_PORT}
integration-test-latest-mac:
if: inputs.target == 'latest' && github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main' && github.event.pull_request.merged == true
if: inputs.target == 'latest' && github.ref == 'refs/heads/main'
runs-on: [self-hosted,macOS,vdp]
steps:
- name: Set up environment
Expand Down

0 comments on commit 8f33dd5

Please sign in to comment.