Feat/reausable2 #80
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push/PR | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
- renovate/** | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
push-pr: | ||
uses: newrelic/coreint-automation/.github/workflows/reusable_push_pr.yaml@v2 | ||
with: | ||
integration: kafka | ||
test_integration_nix: false | ||
Check failure on line 17 in .github/workflows/on_push_pr.yaml GitHub Actions / Push/PRInvalid workflow file
|
||
secrets: inherit | ||
# This is currently not covered by reusable workflow due to the retry mechanism | ||
test-integration-nix: | ||
name: Run integration tests on *Nix | ||
runs-on: ubuntu-22.04 | ||
defaults: | ||
run: | ||
working-directory: src/github.com/${{env.ORIGINAL_REPO_NAME}} | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
path: src/github.com/${{env.ORIGINAL_REPO_NAME}} | ||
- name: Install Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version-file: 'src/github.com/${{env.ORIGINAL_REPO_NAME}}/go.mod' | ||
- name: Integration test | ||
run: for i in 1 2 3; do make integration-test && break; done |