Skip to content

Commit 62f15d5

Browse files
committed
Please enter the commit message for your changes. Lines starting
with '' will be ignored, and an empty message aborts the commit. On branch less-deps-feature-win-tweaks Your branch is up to date with 'origin/less-deps-feature-win-tweaks'. Changes to be committed: modified: .github/workflows/python-compatibility.yml
1 parent dc34beb commit 62f15d5

1 file changed

Lines changed: 5 additions & 18 deletions

File tree

.github/workflows/python-compatibility.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ on:
99

1010
jobs:
1111
test:
12-
name: "Test — Python ${{ matrix.python-version }}"
12+
name: "Run Tests (Python 3.10+)"
1313
runs-on: ubuntu-latest
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14-dev"]
17+
python-version: ["3.10", "3.13"]
1818

1919
steps:
2020
- uses: actions/checkout@v4
@@ -24,25 +24,12 @@ jobs:
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626

27-
- name: Cache pip
28-
uses: actions/cache@v4
29-
with:
30-
path: ~/.cache/pip
31-
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
32-
restore-keys: |
33-
${{ runner.os }}-pip-${{ matrix.python-version }}-
34-
3527
- name: Install dependencies
3628
run: |
3729
python -m pip install --upgrade pip
38-
pip install psutil pytest packaging platformdirs
39-
40-
- name: Install package (no-deps to avoid GUI reqs)
41-
run: pip install -e . --no-deps
30+
pip install -r requirements-python.txt
31+
pip install pytest
4232
4333
- name: Run tests
4434
run: |
45-
pytest --maxfail=1 -q \
46-
--ignore=src/lufus/gui \
47-
--ignore=src/lufus/drives/autodetect_usb.py \
48-
tests/
35+
pytest --maxfail=1 -q tests/

0 commit comments

Comments
 (0)