0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00

test(unit, CI): use OS matrix w/macOS+windows+linux for unit tests (#10801)

This commit is contained in:
George Pauer 2022-04-13 16:32:55 +02:00 committed by GitHub
parent d5514a4531
commit 7f1a758d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,12 @@ on:
jobs:
unit:
name: JUnit Tests
timeout-minutes: 20
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
#env:
# CODACY_TOKEN: ${{ secrets.CODACY_TOKEN }}
steps:
@ -80,4 +84,5 @@ jobs:
timeout_minutes: 10
retry_wait_seconds: 60
max_attempts: 3
command: curl https://codecov.io/bash -o codecov.sh && bash ./codecov.sh
shell: bash
command: curl https://codecov.io/bash -o codecov.sh && bash ./codecov.sh