mirror of
https://github.com/tcsenpai/UWINE.git
synced 2025-06-06 03:25:20 +00:00
workflows: update github action for ubuntu lts
- Since tomllib requires Python 3.11, only run the config tests for 3.11+ - Related to https://github.com/Open-Wine-Components/ULWGL-launcher/issues/37
This commit is contained in:
parent
d80411953b
commit
2a1e440d98
11
.github/workflows/ulwgl-python.yml
vendored
11
.github/workflows/ulwgl-python.yml
vendored
@ -14,13 +14,14 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# tomllib requires Python 3.11
|
# tomllib requires Python 3.11
|
||||||
version: ["3.11", "3.12"]
|
# Ubuntu latest (Jammy) provides Python 3.10
|
||||||
|
version: ["3.10", "3.11", "3.12"]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python 3.11
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.version }}
|
python-version: ${{ matrix.version }}
|
||||||
@ -32,5 +33,7 @@ jobs:
|
|||||||
pip install ruff
|
pip install ruff
|
||||||
ruff --output-format github ulwgl_*.py
|
ruff --output-format github ulwgl_*.py
|
||||||
- name: Test with unittest
|
- name: Test with unittest
|
||||||
run: |
|
run: python3 ulwgl_test.py
|
||||||
python3 ulwgl_test.py
|
- name: Test with unittest for plugins
|
||||||
|
if: ${{ matrix.version == '3.11' || matrix.version == '3.12' }}
|
||||||
|
run: python3 ulwgl_test_plugins.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user