Skip to content

PE-3691 Use infra prerelease for npm Nexus CI test #611

PE-3691 Use infra prerelease for npm Nexus CI test

PE-3691 Use infra prerelease for npm Nexus CI test #611

Workflow file for this run

name: build
on:
pull_request:
push:
branches:
- master
concurrency:
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
group: ${{ github.ref }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
steps:
- uses: actions/checkout@v5
- uses: actions/setup-java@v5
with:
java-version: 8
distribution: 'temurin'
cache: 'maven'
- run: cd integration-tests/maven && mvn clean verify --batch-mode -Dmaven.test.failure.ignore=true
- uses: ./
if: github.ref != 'refs/heads/master'
with:
check_name: Example Surefire Test Report
report_paths: '**/surefire-reports/*.xml, **/failsafe-reports/*.xml'
- uses: cclauss/GitHub-Action-for-pytest@0.5.0
with:
args: pytest integration-tests/python/ --junit-xml=integration-tests/python/report.xml || exit 0
- uses: ./
if: github.ref != 'refs/heads/master'
with:
check_name: Example Pytest Report
report_paths: integration-tests/python/report.xml
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- run: |
cd integration-tests/go &&
go install github.com/jstemmer/go-junit-report/v2@latest &&
go test -v 2>&1 ./... |
go-junit-report -out report.xml
- uses: ./
if: github.ref != 'refs/heads/master'
with:
check_name: Example Go Report
report_paths: integration-tests/go/report.xml
file_name_in_stack_trace: true
- uses: ScaCap/infra.gh-actions/ci/aws/workflow-secrets@pre-release-PE-3446
with:
additional_cicd_secrets: |
NEXUS_NPM_PASSWORD, arn:aws:secretsmanager:eu-central-1:397236901535:secret:prod/github-actions/base/NEXUS_DEV_USER_TOKEN_PASS
- uses: ScaCap/infra.gh-actions/ci/js/base@pre-release-PE-3446
env:
NEXUS_NPM_USERNAME: ${{ vars.NEXUS_DEV_USER_TOKEN_NAME }}
with:
node_version: 20
package_manager: npm
enable_nexus_npm: true
- run: npm run eslint
- run: npm run test