test: add ntfs/hfs+ tests, rearange dependencies and names

This commit is contained in:
Peter Bieringer
2026-04-19 08:13:34 +02:00
parent fc579d54f6
commit 704287f4e9

View File

@@ -30,7 +30,7 @@ on:
jobs: jobs:
test-ubuntu-python-newest: test-ubuntu-python-newest:
name: Test Ubuntu:latest Python:newest name: Test Python:newest Ubuntu:latest
needs: lint needs: lint
strategy: strategy:
matrix: matrix:
@@ -48,7 +48,7 @@ jobs:
run: tox -c pyproject.toml -e py run: tox -c pyproject.toml -e py
test-ubuntu-python-newest-with-passlib: test-ubuntu-python-newest-with-passlib:
name: Test Ubuntu:latest Python:newest passlib name: Test passlib Python:newest Ubuntu:latest
needs: [lint, test-ubuntu-python-newest] needs: [lint, test-ubuntu-python-newest]
strategy: strategy:
matrix: matrix:
@@ -64,11 +64,11 @@ jobs:
run: pip install tox run: pip install tox
- name: Switch back to passlib - name: Switch back to passlib
run: sed -i 's|libpass[^"]*|passlib|' pyproject.toml run: sed -i 's|libpass[^"]*|passlib|' pyproject.toml
- name: Test with newest Python on latest Ubuntu - name: Test with newest Python on latest Ubuntu using passlib
run: tox -c pyproject.toml -e py run: tox -c pyproject.toml -e py
test-ubuntu-python-newest-with-vfat: test-ubuntu-python-newest-with-vfat:
name: Test Ubuntu:latest Python:newest vfat name: Test VFAT Python:newest Ubuntu:latest
needs: [lint, test-ubuntu-python-newest] needs: [lint, test-ubuntu-python-newest]
strategy: strategy:
matrix: matrix:
@@ -82,11 +82,47 @@ jobs:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install Test dependencies - name: Install Test dependencies
run: pip install tox run: pip install tox
- name: Test with newest Python on latest Ubuntu - name: Test with newest Python on latest Ubuntu using VFAT
run: tox -c pyproject.toml -e py_filesystem_vfat run: tox -c pyproject.toml -e py_filesystem_vfat
test-ubuntu-python-newest-with-ntfs:
name: Test NTFS Python:newest Ubuntu:latest
needs: [lint, test-ubuntu-python-newest]
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.14']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install Test dependencies
run: pip install tox
- name: Test with newest Python on latest Ubuntu using NTFS
run: tox -c pyproject.toml -e py_filesystem_ntfs
test-ubuntu-python-newest-with-hfsp:
name: Test HFS+ Python:newest Ubuntu:latest
needs: [lint, test-ubuntu-python-newest]
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.14']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install Test dependencies
run: pip install tox
- name: Test with newest Python on latest Ubuntu using HFS+
run: tox -c pyproject.toml -e py_filesystem_hfsp
test-python-32bit: test-python-32bit:
name: Test Ubuntu:latest Python:32-bit name: Test 32-bit Python:3.11 Ubuntu:latest
needs: [lint, test-ubuntu-python-newest, integ-test] needs: [lint, test-ubuntu-python-newest, integ-test]
strategy: strategy:
matrix: matrix:
@@ -120,13 +156,13 @@ jobs:
python3 -m venv venv python3 -m venv venv
. venv/bin/activate . venv/bin/activate
pip install --upgrade pip pip install --upgrade pip
- name: Test 32-bit - name: Test with 32-bit Python on latest Ubuntu
run: | run: |
. venv/bin/activate . venv/bin/activate
tox -c /__w/Radicale/Radicale/pyproject.toml -e py tox -c /__w/Radicale/Radicale/pyproject.toml -e py
test-ubuntu-python-oldest: test-ubuntu-python-oldest:
name: Test Ubuntu:latest Python:oldest name: Test Python:oldest Ubuntu:latest
needs: [lint, test-ubuntu-python-newest, test-python-32bit] needs: [lint, test-ubuntu-python-newest, test-python-32bit]
strategy: strategy:
matrix: matrix:
@@ -145,7 +181,7 @@ jobs:
test-otheros-python-newest: test-otheros-python-newest:
name: Test MacOS/Windows:latest Python:newest name: Test MacOS/Windows:latest Python:newest
needs: [lint, test-ubuntu-python-newest, test-python-32bit] needs: [lint, test-ubuntu-python-newest, test-ubuntu-python-newest-with-ntfs, test-ubuntu-python-newest-with-hfsp, test-ubuntu-python-newest-with-vfat]
strategy: strategy:
matrix: matrix:
os: [macos-latest, windows-latest] os: [macos-latest, windows-latest]
@@ -247,7 +283,7 @@ jobs:
js-test: js-test:
name: JS Type Check name: JS Type Check
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [test-ubuntu-python-newest, test-ubuntu-python-newest-with-vfat] needs: [test-ubuntu-python-newest]
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- uses: actions/setup-node@v5 - uses: actions/setup-node@v5