Update python versions for CI/CD

- Update python versions for Default action
- Set python versions for sonarcloud
This commit is contained in:
Andrew Senetar 2022-01-24 19:27:29 -06:00
parent f6a0c0cc6d
commit 6456e64328
Signed by: arsenetar
GPG Key ID: C63300DCE48AB2F1
2 changed files with 10 additions and 5 deletions

View File

@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.10
- name: Install dependencies
run: |
python -m pip install --upgrade pip
@ -28,10 +28,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.10
- name: Install dependencies
run: |
python -m pip install --upgrade pip
@ -45,16 +45,20 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.6, 3.7, 3.8, 3.9, 3.10]
exclude:
- os: macos-latest
python-version: 3.6
- os: macos-latest
python-version: 3.7
- os: macos-latest
python-version: 3.8
- os: windows-latest
python-version: 3.6
- os: windows-latest
python-version: 3.7
- os: windows-latest
python-version: 3.8
steps:
- uses: actions/checkout@v2

1
.sonarcloud.properties Normal file
View File

@ -0,0 +1 @@
sonar.python.version=3.6, 3.7, 3.8, 3.9, 3.10