mirror of
https://github.com/beetbox/beets.git
synced 2026-01-01 05:23:05 +01:00
Merge pull request #4092 from arogl/python310
Update CI to the latest 3.10 release
This commit is contained in:
commit
154e5eb5ad
2 changed files with 10 additions and 10 deletions
18
.github/workflows/ci.yaml
vendored
18
.github/workflows/ci.yaml
vendored
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
platform: [ubuntu-latest, windows-latest]
|
||||
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0-rc.2]
|
||||
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11-dev']
|
||||
|
||||
env:
|
||||
PY_COLORS: 1
|
||||
|
|
@ -45,17 +45,17 @@ jobs:
|
|||
sudo apt install ffmpeg # For replaygain
|
||||
|
||||
- name: Test older Python versions with tox
|
||||
if: matrix.python-version != '3.9' && matrix.python-version != '3.10.0-rc.2'
|
||||
if: matrix.python-version != '3.10' && matrix.python-version != '3.11-dev'
|
||||
run: |
|
||||
tox -e py-test
|
||||
|
||||
- name: Test latest Python version with tox and get coverage
|
||||
if: matrix.python-version == '3.9'
|
||||
if: matrix.python-version == '3.10'
|
||||
run: |
|
||||
tox -vv -e py-cov
|
||||
|
||||
- name: Test nightly Python version with tox
|
||||
if: matrix.python-version == '3.10.0-rc.2'
|
||||
if: matrix.python-version == '3.11-dev'
|
||||
# continue-on-error is not ideal since it doesn't give a visible
|
||||
# warning, but there doesn't seem to be anything better:
|
||||
# https://github.com/actions/toolkit/issues/399
|
||||
|
|
@ -64,7 +64,7 @@ jobs:
|
|||
tox -e py-test
|
||||
|
||||
- name: Upload code coverage
|
||||
if: matrix.python-version == '3.9'
|
||||
if: matrix.python-version == '3.10'
|
||||
run: |
|
||||
pip install codecov || true
|
||||
codecov || true
|
||||
|
|
@ -78,10 +78,10 @@ jobs:
|
|||
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 base dependencies
|
||||
run: |
|
||||
|
|
@ -100,10 +100,10 @@ jobs:
|
|||
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 base dependencies
|
||||
run: |
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -24,7 +24,7 @@ commands =
|
|||
lint: python -m flake8 {posargs} {[_lint]files}
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python3.9
|
||||
basepython = python3.10
|
||||
deps = sphinx<4.4.0
|
||||
commands = sphinx-build -W -q -b html docs {envtmpdir}/html {posargs}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue