add ci test for python2.7
This commit is contained in:
parent
da364d89aa
commit
80dc0b1498
|
@ -4,14 +4,21 @@ env:
|
||||||
CI: true
|
CI: true
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ${{ matrix.os }}
|
||||||
name: build_test on ubuntu 20.04
|
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-18.04, ubuntu-20.04]
|
||||||
|
python-version: [2.7, 3.6, 3.9]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: '3.6'
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: prepare
|
- name: prepare
|
||||||
shell: 'script -q -e -c "bash {0}"'
|
shell: 'script -q -e -c "bash {0}"'
|
||||||
|
|
Loading…
Reference in New Issue