[AB2D-6124] Add Opt Out Metrics to Slack Message #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: opt-out-import unit tests | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/opt-out-import-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 |