mirror of https://github.com/icedland/iced.git
Test with Python 3.10 in CI build scripts
This commit is contained in:
parent
d7e4c7ab2b
commit
c5498fa028
|
@ -344,6 +344,15 @@ jobs:
|
|||
python --version 2>&1 | grep "Python 3\.9"
|
||||
bash build/ci-py-build-wheels.sh
|
||||
|
||||
- uses: conda-incubator/setup-miniconda@v2.1.1
|
||||
with:
|
||||
python-version: 3.10
|
||||
- name: Build and test the wheel
|
||||
shell: bash -le {0}
|
||||
run: |
|
||||
python --version 2>&1 | grep "Python 3\.10"
|
||||
bash build/ci-py-build-wheels.sh
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: py-dist-${{matrix.os}}-x64
|
||||
|
@ -419,6 +428,15 @@ jobs:
|
|||
python --version 2>&1 | grep "Python 3\.9"
|
||||
bash build/ci-py-build-wheels.sh
|
||||
|
||||
- uses: actions/setup-python@v2.2.2
|
||||
with:
|
||||
python-version: 3.10
|
||||
- name: Build and test the wheel
|
||||
shell: bash
|
||||
run: |
|
||||
python --version 2>&1 | grep "Python 3\.10"
|
||||
bash build/ci-py-build-wheels.sh
|
||||
|
||||
- name: Fix upload path
|
||||
shell: bash
|
||||
run: |
|
||||
|
@ -495,6 +513,16 @@ jobs:
|
|||
python --version 2>&1 | grep "Python 3\.9"
|
||||
bash build/ci-py-build-wheels.sh
|
||||
|
||||
- uses: actions/setup-python@v2.2.2
|
||||
with:
|
||||
python-version: 3.10
|
||||
architecture: x86
|
||||
- name: Build and test the wheel
|
||||
shell: bash
|
||||
run: |
|
||||
python --version 2>&1 | grep "Python 3\.10"
|
||||
bash build/ci-py-build-wheels.sh
|
||||
|
||||
- name: Fix upload path
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
|
@ -31,7 +31,7 @@ for whl in orig-dist/*.whl; do
|
|||
done
|
||||
rm -rf orig-dist
|
||||
|
||||
for PYBIN in /opt/python/cp{36,37,38,39}*/bin; do
|
||||
for PYBIN in /opt/python/cp{36,37,38,39,310}*/bin; do
|
||||
"$PYBIN/python" -m pip install -U pytest
|
||||
"$PYBIN/python" -m pip install iced-x86 --no-index -f dist/ --only-binary iced-x86
|
||||
"$PYBIN/python" -m pytest --color=yes --code-highlight=yes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tox]
|
||||
envlist =
|
||||
py{36,37,38,39}
|
||||
py{36,37,38,39,310}
|
||||
pypy3
|
||||
|
||||
[testenv]
|
||||
|
|
Loading…
Reference in New Issue