fix: github action yml

This commit is contained in:
debugtalk
2019-12-14 00:13:25 +08:00
parent ad8503301a
commit 54578b98e7
2 changed files with 6 additions and 5 deletions
+3 -3
View File
@@ -3,12 +3,12 @@ name: integration_test
on: [push] on: [push]
jobs: jobs:
integration test: integration_test:
name: Test on ${{ matrix.os }} and ${{ matrix.python-version }} name: ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
max-parallel: 15 max-parallel: 5
matrix: matrix:
os: [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]
+3 -2
View File
@@ -4,10 +4,11 @@ on: [push]
jobs: jobs:
unittest: unittest:
name: Test on ${{ matrix.os }} and ${{ matrix.python-version }}
name: ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
max-parallel: 15 max-parallel: 5
matrix: matrix:
os: [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]