summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorThibault Gagnaux <thibault.gagnaux@bit.admin.ch>2021-07-08 12:18:42 +0200
committerThibault Gagnaux <thibault.gagnaux@bit.admin.ch>2021-07-08 16:04:54 +0200
commitce39d8f5cdfae2788c4664e08d895afead76c682 (patch)
treef61be38f42c1b93a8b0cebdaaad52a90931b870e /.github/workflows
parent2fceaad440fffc1f6edbd8e4887469cc948edb5d (diff)
downloadfrege-gradle-plugin-ce39d8f5cdfae2788c4664e08d895afead76c682.tar.gz
frege-gradle-plugin-ce39d8f5cdfae2788c4664e08d895afead76c682.tar.bz2
frege-gradle-plugin-ce39d8f5cdfae2788c4664e08d895afead76c682.zip
Refactor: Uses junit5 nested tests for a better structure
Setups missing java 11 in the github workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml13
1 files changed, 10 insertions, 3 deletions
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