From 97d7d595ca64bb8daf6f036a4c824b447277b0c4 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Fri, 13 Dec 2019 23:59:47 +0800 Subject: [PATCH] test: run matrix tests on linux/macos/windows and Python 2.7/3.5/3.6/3.7/3.8 --- .github/workflows/integration_test.yml | 5 +++-- .github/workflows/unittest.yml | 5 +++-- docs/CHANGELOG.md | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index 8b61e274..1447ab9d 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -3,12 +3,13 @@ name: integration_test on: [push] 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: max-parallel: 5 matrix: + os_type: [ubuntu-latest, macos-latest, windows-latest] python-version: [2.7, 3.5, 3.6, 3.7, 3.8] steps: diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 5e7e3af0..c2da1ce4 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -3,12 +3,13 @@ name: unittest on: [push] 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: max-parallel: 5 matrix: + os_type: [ubuntu-latest, macos-latest, windows-latest] python-version: [2.7, 3.5, 3.6, 3.7, 3.8] steps: diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 1f89948a..c12c1dfb 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -7,6 +7,7 @@ - refactor: use poetry>=1.0.0 - test: migrate from travis CI to github actions - 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)