Skip to content

Ensure correct pipeline clean-up from invalid node in config file. Prevent pipeline service rerunning already failed pipeline. #2878

Ensure correct pipeline clean-up from invalid node in config file. Prevent pipeline service rerunning already failed pipeline.

Ensure correct pipeline clean-up from invalid node in config file. Prevent pipeline service rerunning already failed pipeline. #2878

Workflow file for this run

name: test
on:
push:
branches: [ main ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Test
# The test coverate and the test report are needed for the SonarCloud analysis
run: make test-integration GOTEST_FLAGS="-v -count=1 -coverprofile coverage.out" 2>&1 | tee test-report.out
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@v3.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}