fix: github actions

This commit is contained in:
debugtalk
2019-12-14 00:07:45 +08:00
parent d77fc07228
commit 240de9a1a7
2 changed files with 10 additions and 9 deletions
+5 -4
View File
@@ -3,13 +3,14 @@ name: integration_test
on: [push] on: [push]
jobs: jobs:
integration test on ${{ matrix.os_type }} and ${{ matrix.python-version }}: integration test:
runs-on: ${{ matrix.os_type }} name: Test on ${{ matrix.os }} and ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy: strategy:
max-parallel: 5 max-parallel: 15
matrix: matrix:
os_type: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [2.7, 3.5, 3.6, 3.7, 3.8] python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
steps: steps:
+5 -5
View File
@@ -3,13 +3,13 @@ name: unittest
on: [push] on: [push]
jobs: jobs:
unittest on ${{ matrix.os_type }} and ${{ matrix.python-version }}: unittest:
name: Test on ${{ matrix.os }} and ${{ matrix.python-version }}
runs-on: ${{ matrix.os_type }} runs-on: ${{ matrix.os }}
strategy: strategy:
max-parallel: 5 max-parallel: 15
matrix: matrix:
os_type: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [2.7, 3.5, 3.6, 3.7, 3.8] python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
steps: steps: