Pinning ubuntu version for python 3.6 test runs
@@ -13,11 +13,17 @@ on:
jobs:
test:
name: Test
- runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
- python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ]
+ python-version: [ '3.7', '3.8', '3.9', '3.10' ]
+ os: [ubuntu-latest]
+ # Need to pin ubuntu version for python 3.6 (see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877)
+ # Change this to use ubuntu-latest for all python versions after deprecating python 3.6
+ include:
+ - python-version: '3.6'
+ os: 'ubuntu-20.04'
+ runs-on: ${{ matrix.os }}
steps:
- name: Checkout twilio-python
uses: actions/checkout@v3
