test: run matrix tests on linux/macos/windows and Python 2.7/3.5/3.6/3.7/3.8

This commit is contained in:
debugtalk 2019-12-13 23:59:47 +08:00
parent 2f1ab1dd5a
commit d77fc07228
3 changed files with 7 additions and 4 deletions

View File

@ -3,12 +3,13 @@ name: integration_test
on: [push] on: [push]
jobs: jobs:
integration_test: integration test on ${{ matrix.os_type }} and ${{ matrix.python-version }}:
runs-on: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os_type }}
strategy: strategy:
max-parallel: 5 max-parallel: 5
matrix: matrix:
os_type: [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:

View File

@ -3,12 +3,13 @@ name: unittest
on: [push] on: [push]
jobs: jobs:
unittest: unittest on ${{ matrix.os_type }} and ${{ matrix.python-version }}:
runs-on: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os_type }}
strategy: strategy:
max-parallel: 5 max-parallel: 5
matrix: matrix:
os_type: [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:

View File

@ -7,6 +7,7 @@
- refactor: use poetry>=1.0.0 - refactor: use poetry>=1.0.0
- test: migrate from travis CI to github actions - test: migrate from travis CI to github actions
- test: migrate from coveralls to codecov - test: migrate from coveralls to codecov
- test: run matrix tests on linux/macos/windows and Python 2.7/3.5/3.6/3.7/3.8
## 2.4.2 (2019-12-13) ## 2.4.2 (2019-12-13)