Skip to content

Commit 1862334

Browse files
committed
expand testing, make fstring more compatible with older versions
Signed-off-by: Zen <[email protected]>
1 parent 79b2f20 commit 1862334

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/ubuntu.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,20 @@ permissions:
1515
jobs:
1616
build:
1717
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
python-version: ['3.11', '3.12']
21+
1822
steps:
1923
- uses: actions/checkout@v4
2024
- name: Obtain dependency projects
2125
run: |
2226
git clone https://github.com/desultory/zenlib
2327
git clone https://github.com/desultory/pycpio
24-
- name: Set up Python 3.12
28+
- name: Set up Python ${{ matrix.python-version }}
2529
uses: actions/setup-python@v5
2630
with:
27-
python-version: "3.12"
31+
python-version: ${{ matrix.python-version }}
2832
- name: Install system deps
2933
run: |
3034
sudo apt update
@@ -38,5 +42,5 @@ jobs:
3842
venv/bin/pip install .
3943
- name: Test fullauto.toml
4044
run: |
41-
sudo venv/bin/python -m unittest discover tests
4245
sudo venv/bin/ugrd -d
46+
sudo venv/bin/python -m unittest discover tests -v

src/ugrd/fs/mounts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "desultory"
2-
__version__ = "5.3.2"
2+
__version__ = "5.3.3"
33

44
from pathlib import Path
55

@@ -223,7 +223,7 @@ def umount_fstab(self) -> list[str]:
223223
if not mountpoints:
224224
return []
225225

226-
out = [f"einfo 'Unmounting filesystems: {" ,".join(mountpoints)}'"]
226+
out = [f"einfo 'Unmounting filesystems: {' ,'.join(mountpoints)}'"]
227227
for mountpoint in mountpoints:
228228
out.append(f"umount {mountpoint} || ewarn 'Failed to unmount: {mountpoint}'")
229229

0 commit comments

Comments
 (0)