8000 Pinning ubuntu version for python 3.6 test runs (#628) · 99pswork/twilio-python@beafdec · GitHub
[go: up one dir, main page]

Skip to content

Commit beafdec

Browse files
authored
Pinning ubuntu version for python 3.6 test runs (twilio#628)
1 parent 47d3337 commit beafdec

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/test-and-deploy.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,17 @@ on:
1313
jobs:
1414
test:
1515
name: Test
16-
runs-on: ubuntu-latest
1716
timeout-minutes: 20
1817
strategy:
1918
matrix:
20-
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ]
19+
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
20+
os: [ubuntu-latest]
21+
# Need to pin ubuntu version for python 3.6 (see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877)
22+
# Change this to use ubuntu-latest for all python versions after deprecating python 3.6
23+
include:
24+
- python-version: '3.6'
25+
os: 'ubuntu-20.04'
26+
runs-on: ${{ matrix.os }}
2127
steps:
2228
- name: Checkout twilio-python
2329
uses: actions/checkout@v3

0 commit comments

Comments
 (0)
0