Skip to content

Feat/reausable2

Feat/reausable2 #81

Workflow file for this run

name: Push/PR
on:
push:
branches:
- main
- master
- renovate/**
pull_request:
workflow_dispatch:
env:
ORIGINAL_REPO_NAME: ${{ github.event.repository.full_name }}
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 20 in .github/workflows/on_push_pr.yaml

View workflow run for this annotation

GitHub Actions / Push/PR

Invalid workflow file

The workflow is not valid. .github/workflows/on_push_pr.yaml (Line: 20, Col: 29): Invalid input, test_integration_nix is not defined in the referenced workflow.
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