fixing python 3.10

This commit is contained in:
Khalim Conn-Kowlessar 2023-09-12 15:54:40 +01:00
parent c850a4c7a5
commit 2dfcdc8f56

View file

@ -1,4 +1,4 @@
name: Python package name: Run unit tests
on: [ push, pull_request ] on: [ push, pull_request ]
@ -6,16 +6,19 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: # For the moment, we just run with python 3.10
matrix: # strategy:
python-version: [ 3.8, 3.9, 3.10 ] # matrix:
# python-version: [ 3.8, 3.9, 3.10 ]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }} # - name: Set up Python ${{ matrix.python-version }}
- name: Set up Python 3.10
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: ${{ matrix.python-version }} # python-version: ${{ matrix.python-version }}
python-version: 3.10
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip