Merge pull request #32 from nyuoss/sashank #13
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: Java CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'temurin' # AdoptOpenJDK has been moved to Eclipse Temurin | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml | |
- name: Run tests | |
run: mvn test # Executes the test phase |