Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Introduce test matrix

Michal Rutka7a4382d7c8a1
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 0cd618e3c..afbce88b0 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -14,14 +14,22 @@ on:
jobs:
tests:
- runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ max-parallel: 5
+ matrix:
+ java-version: [1.8]
+ # TODO to get it on windows-latest
+ os-version: [ubuntu-18.04, ubuntu-latest, macos-latest, macos-11.0]
+
+ runs-on: ${{ matrix.os-version }}
steps:
- uses: actions/checkout@v2
- - name: set up JDK 1.8
+ - name: set up JDK
uses: actions/setup-java@v1
with:
- java-version: 1.8
+ java-version: ${{ matrix.java-version }}
- name: grant execute permission for gradlew
run: chmod +x gradlew
- name: start containers needed for testing