Skip to content
Snippets Groups Projects
Unverified Commit 3bc0b14a authored by Michael Kriese's avatar Michael Kriese Committed by GitHub
Browse files

chore(ci): skip java tests on most platforms (#5448)

parent 1e0163a4
Branches
No related tags found
No related merge requests found
......@@ -15,12 +15,18 @@ jobs:
name: test
runs-on: ${{ matrix.os }}
# tests shouldn't nee more than 10 min
timeout-minutes: 15
strategy:
max-parallel: 4
max-parallel: 6
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [10.x, 12.x]
node-version: [10, 12]
python-version: [3.8]
exclude:
- os: windows-latest
node-version: 10
steps:
- name: Set up Node.js ${{ matrix.node-version }}
......@@ -34,10 +40,15 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Set up Java 11
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 12 && github.ref != 'refs/heads/master'
uses: actions/setup-java@v1
with:
java-version: 11
- name: Skip Java tests
if: matrix.os != 'ubuntu-latest' || matrix.node-version != 12 || github.ref == 'refs/heads/master'
run: echo "::set-env name=SKIP_JAVA_TESTS::true"
- name: Init platform
id: init
shell: bash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment