From ce39d8f5cdfae2788c4664e08d895afead76c682 Mon Sep 17 00:00:00 2001 From: Thibault Gagnaux Date: Thu, 8 Jul 2021 12:18:42 +0200 Subject: Refactor: Uses junit5 nested tests for a better structure Setups missing java 11 in the github workflow --- .github/workflows/main.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4f896e5..4654454 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,10 +19,17 @@ jobs: - name: Checkout Repository uses: actions/checkout@v2.3.4 - - name: Run Tests + - name: Setup Java 11 + uses: actions/setup-java@v2 + with: + distribution: 'adopt-openj9' + java-version: '11' + + - name: Run Unit & Functional Tests run: | if [ "$RUNNER_OS" = "Windows" ]; then - gradlew.bat clean check + ./gradlew.bat clean check else ./gradlew clean check - fi \ No newline at end of file + fi + shell: bash \ No newline at end of file -- cgit