Use Python 3.10 for linting CI tasks and others.
This commit is contained in:
1 parent
f9a2e4189c
commit
d594aa6012
2 files changed
+5
-5
No files matched your search
@@ -52,10 +52,10 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up Python 3.8
|
||||
- name: Set up Python 3.10
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.8
|
||||
python-version: '3.10'
|
||||
- name: Install dependencies
|
||||
run: python -m pip install tox
|
||||
- name: Lint with tox
|
||||
@@ -89,10 +89,10 @@ jobs:
|
||||
# Fetch all tags and branches because tests rely on it
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Python 3.7
|
||||
- name: Set up Python 3.10
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.7
|
||||
python-version: '3.10'
|
||||
- name: Install dependencies and coverage
|
||||
run: python -m pip install tox
|
||||
- name: Test with tox with coverage
|
||||
|
||||
Reference in new issue
Block a user