Merge pull request #1469 from CMSgov/feature/QPPSE-2004-Updated_Parti… #1404
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: [ master, develop] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout codebase | |
uses: actions/checkout@v4 | |
- name: Check PII & Credentiail leaks | |
uses: zricethezav/gitleaks-action@6e41781c235feb424ecc3435610dce20ad349a70 # pin@master | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "17" | |
distribution: "corretto" | |
- 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 | |
run: mvn --batch-mode verify | |
- name: Run integration tests | |
run: mvn --batch-mode test -Pintegration |