diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..3aebe5f --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,21 @@ +name: Maven + +on: + pull_request: + push: + branches: [main] + +permissions: + contents: read + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7.0.1 + - uses: actions/setup-java@v6.3.0 + with: + distribution: temurin + java-version: '17' + cache: maven + - run: mvn -B -U test diff --git a/pom.xml b/pom.xml index 39deaef..82f6997 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ com.github.rspace-os rspace-parent - 3.0.0 + 314e7a9f6f729d219c4157c73dffd8314233de82 @@ -25,6 +25,12 @@ org.apache.maven.plugins maven-surefire-plugin + + + + ${project.build.directory}/surefire-reports/ + + org.apache.maven.plugins @@ -121,12 +127,11 @@ com.fasterxml.jackson.dataformat jackson-dataformat-csv - 2.15.3 + ${jackson.version} org.junit.jupiter junit-jupiter-params - 5.8.2 test