Skip to content

Ab2d-6412/sonarqube fix 3 #44

Ab2d-6412/sonarqube fix 3

Ab2d-6412/sonarqube fix 3 #44

name: opt-out-export unit tests
on:
pull_request:
paths:
- .github/workflows/opt-out-export-unit.yml
- attribution-data-file-share/**
workflow_dispatch:
jobs:
test:
runs-on: self-hosted
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
defaults:
run:
working-directory: ./attribution-data-file-share
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- uses: cmsgov/ab2d-bcda-dpc-platform/actions/aws-params-env-action@main
env:
AWS_REGION: ${{ vars.AWS_REGION }}
with:
params: |
ARTIFACTORY_URL=/artifactory/url
ARTIFACTORY_USER=/artifactory/user
ARTIFACTORY_PASSWORD=/artifactory/password
SONAR_HOST_URL=/sonarqube/url
SONAR_TOKEN=/sonarqube/token
- name: Run unit tests for opt-out-export lambda
run: ../gradlew test