QPPSE-910: MVP And SubGroup Submissions #1066
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: Continuous Integration Suite | |
on: | |
push: | |
branches: [ master, develop ] | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
branches: [ develop ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout codebase | |
uses: actions/checkout@v2 | |
- name: Check PII & Credentiail leaks | |
uses: zricethezav/gitleaks-action@6e41781c235feb424ecc3435610dce20ad349a70 # pin@master | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Delete old dependencies (may trigger Snyk vulnerability otherwise) | |
run: rm -vrf ~/.m2 | |
- name: Maven build | |
run: mvn package -Dmaven.test.skip -Djacoco.skip=true | |
- name: Run Unit tests & Sonar Scan | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: mvn --batch-mode verify -Psonar -Dsonar.organization=cmsgov -Dsonar.projectKey=gov.cms.qpp.conversion:qpp-conversion-new -Dsonar.login=${{ secrets.SONAR_TOKEN }} | |
- name: Run integration tests | |
run: mvn --batch-mode test -Pintegration |