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:
parent
d5514a4531
commit
7f1a758d52
11
.github/workflows/tests_unit.yml
vendored
11
.github/workflows/tests_unit.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user