change: github actions

This commit is contained in:
debugtalk
2022-03-21 14:26:44 +08:00
parent dac77226c2
commit 0c971771cb
2 changed files with 10 additions and 14 deletions

View File

@@ -2,11 +2,8 @@ name: integration_test
on:
push:
branches:
- dev
pull_request:
branches:
- master
types: [synchronize]
jobs:
integration_test:
@@ -16,15 +13,16 @@ jobs:
strategy:
max-parallel: 6
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.6, 3.7, 3.8, 3.9]
os: [ubuntu-latest, macos-latest] # TODO: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip

View File

@@ -2,11 +2,8 @@ name: unittest
on:
push:
branches:
- dev
pull_request:
branches:
- master
types: [synchronize]
jobs:
unittest:
@@ -16,15 +13,16 @@ jobs:
strategy:
max-parallel: 12
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.6, 3.7, 3.8, 3.9]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip