Skip to content

AB2D-6008 Replace test data #13

AB2D-6008 Replace test data

AB2D-6008 Replace test data #13

name: opt-out-import unit tests
on:
pull_request:
paths:
- .github/workflows/opt-out-import-test-unit.yml
- optout/**
workflow_dispatch:
jobs:
test:
runs-on: self-hosted
defaults:
run:
working-directory: ./optout
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-import lambda
run: ../gradlew test