From a0c5200d7cb0b14783368b8891f0c81f14626154 Mon Sep 17 00:00:00 2001 From: Benjamin Prud'homme Date: Sat, 2 Nov 2024 13:35:28 -0400 Subject: [PATCH] Unit test workflow --- .github/workflows/unittests.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/unittests.yml diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml new file mode 100644 index 0000000000000..7420fd91b2729 --- /dev/null +++ b/.github/workflows/unittests.yml @@ -0,0 +1,28 @@ +name: "Unit Tests" + +on: + push: + branches: [ "master", "java21", "fibers" ] + +jobs: + test: + name: Test + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'java' ] + + - name: Setup local maven cache + uses: actions/cache@v4 + with: + path: ~/.m2/repository + key: maven-cache-${{ hashFiles('**/pom.xml') }} + + - name: Run tests + run: ./mvnw test