Skip to content

Commit 9dff51c

Browse files
authored
Github Actions: use ubuntu-latest but for py2.7 and py3.6 (#494)
1 parent 552dbc0 commit 9dff51c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/nosetests.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-20.04
7+
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
python-version: [ '2.7', '3.6', '3.7', '3.8', '3.9' ]
10+
os: [ubuntu-latest]
11+
python-version: [ '3.7', '3.8', '3.9']
12+
include:
13+
- os: ubuntu-20.04
14+
python-version: '2.7'
15+
- os: ubuntu-20.04
16+
python-version: '3.6'
1117
name: Tests with Python ${{ matrix.python-version }}
1218
steps:
1319
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)