Change from maven to gradle, bump version number, update jars #13
This file contains hidden or 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 Tests (EVIO-6) | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| java_test: | |
| name: Run JUnit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v5 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| # Setup gradle and build Java | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v3 | |
| - name: Build with Gradle | |
| run: ./gradlew build | |
| # Run tests with Gradle | |
| - name: Build and run tests | |
| run: ./gradlew test | |