NR-329534 Automate release of nri-jmx #364
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 pipeline | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
env: | |
NRJMX_VERSION: '2.6.0' # Renovate automatically updates this dependencies to the latest release version. It will automatically merge minor and patch versions, while raising a pull request for major version updates. | |
jobs: | |
# can't run this step inside of container because of tests specific | |
test-integration-nix: | |
name: Run integration tests on *Nix | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
working-directory: src/github.com/${{env.ORIGINAL_REPO_NAME}} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
path: src/github.com/${{env.ORIGINAL_REPO_NAME}} | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'src/github.com/${{env.ORIGINAL_REPO_NAME}}/go.mod' | |
- name: Integration test | |
env: | |
GOPATH: ${{ github.workspace }} | |
run: make integration-test | |
push-pr: | |
uses: newrelic/coreint-automation/.github/workflows/reusable_push_pr.yaml@v3 | |
with: | |
integration: jmx | |
run_integration_nix: false | |
secrets: inherit |