Merge pull request #69 from technology16/bug_fix #56
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: Test | |
on: | |
push: | |
jobs: | |
compile: | |
runs-on: ubuntu-latest | |
name: Running Java 8 compile | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '8' | |
- name: Compile code | |
run: mvn compile | |
test: | |
runs-on: ubuntu-latest | |
name: Running tests | |
needs: compile | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '8' | |
- name: Run unit tests | |
run: mvn test -B verify | |
build: | |
runs-on: ubuntu-latest | |
name: mvn build | |
needs: compile | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '8' | |
- name: build | |
run: mvn clean package -DskipTests |