Update Python to 3.12 for CI (#813)

This commit is contained in:
Henry Ruhs 2024-11-13 13:41:59 +01:00 committed by GitHub
parent a6929d6cb4
commit bdae74a792
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,10 +8,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.10
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'
- run: pip install flake8
- run: pip install flake8-import-order
- run: pip install mypy
@ -29,10 +29,10 @@ jobs:
uses: actions/checkout@v4
- name: Set up FFmpeg
uses: FedericoCarboni/setup-ffmpeg@v3
- name: Set up Python 3.10
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'
- run: python install.py --onnxruntime default --skip-conda
- run: pip install pytest
- run: pytest
@ -44,10 +44,10 @@ jobs:
uses: actions/checkout@v4
- name: Set up FFmpeg
uses: FedericoCarboni/setup-ffmpeg@v3
- name: Set up Python 3.10
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'
- run: python install.py --onnxruntime default --skip-conda
- run: pip install coveralls
- run: pip install pytest