fix ubuntu/python3.6 version issue, upgrade action version

main
Fabien C. Y. Benureau 2 years ago
parent 0ae97c8061
commit 30fd3773c2
No known key found for this signature in database
GPG Key ID: CE56629494581522

@ -12,14 +12,17 @@ jobs:
name: Run unit tests with mock requests name: Run unit tests with mock requests
strategy: strategy:
matrix: matrix:
os: [macos-latest, ubuntu-latest] os: [ubuntu-latest, macos-latest]
python-version: ['3.6', '3.10'] python-version: ['3.10']
include:
- os: ubuntu-20.04
python-version: '3.6'
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v3
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install dependencies
@ -43,14 +46,14 @@ jobs:
name: Run unit tests online name: Run unit tests online
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest] platform: [linux]
python-version: ['3.10'] python-version: ['3.10']
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.platform }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v3
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install dependencies
@ -78,7 +81,7 @@ jobs:
if: github.event_name == 'schedule' if: github.event_name == 'schedule'
steps: steps:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v3
- name: install test - name: install test
run: | run: |
pip install -U pip pip install -U pip

Loading…
Cancel
Save