Skip to content

Commit 835715b

Browse files
committed
chore: fix python 3.6 build
Python 3.6 is not included in Ubuntu 22. Rather than dropping support for CI to test on 3.6, run the tests on Ubuntu 20. actions/setup-python#544
1 parent bb57bac commit 835715b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
name: CI
22
on: [push]
3-
concurrency:
3+
concurrency:
44
group: ${{ github.ref }}
55
cancel-in-progress: true
66
jobs:
77
build:
8-
runs-on: ubuntu-latest
8+
runs-on: ${{ matrix.os }}
99
name: Python ${{ matrix.python }} tests
1010
strategy:
1111
matrix:
12-
python: [2.7, 3.6, 3.7, 3.8, 3.9]
12+
python: [2.7, 3.7, 3.8, 3.9]
13+
os: [ubuntu-latest]
14+
include:
15+
# Python 3.6 is not included in ubuntu latest (currently 22)
16+
- python: 3.6
17+
os: ubuntu-20.04
1318
steps:
1419
- uses: actions/checkout@v3
1520
- name: Setup python

0 commit comments

Comments
 (0)