SXSD-9063: Removed invalid validation and updated tests #53
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: Solum Xplain OpenGamma Strata Library CI | |
# Based on .circleci/config.yml | |
on: | |
push: | |
branches: | |
- 'xplain' | |
- 'SXSD-*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 11.0.15 | |
- name: Initialising Maven | |
run: mvn --version | |
- name: Maven install (no tests) | |
run: mvn install -T 4 -DskipTests -Dstrict | |
- name: Maven run tests | |
run: mvn test -T 3 -Dcheckstyle.skip=true | |
- name: Publish to GitHub Packages | |
if: ${{ github.ref == 'refs/heads/xplain' }} #Deploy only on XPLAIN branch | |
run: mvn deploy -DaltDeploymentRepository="github::https://maven.pkg.github.com/SolumXplain/solum-xplain-opengamma-strata" -DskipTests -Dcheckstyle.skip=true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Publish Test Report | |
if: ${{ always() }} | |
uses: scacap/action-surefire-report@v1 |