Use Python 3.10 for linting CI tasks and others.

This commit is contained in:
David Wobrock authored and David Wobrock committed 2022-12-17 11:45:19 +01:00
1 parent f9a2e4189c
commit d594aa6012
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -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
+1 -1
View File
@@ -25,7 +25,7 @@ deps =
django41: django>=4.1,<4.2
[testenv:lint]
basepython = python3.8
basepython = python3.10
deps =
-r requirements/dev.txt
commands =