Fix bug in Linux test workflow
This commit is contained in:
@@ -37,13 +37,13 @@ jobs:
|
||||
|
||||
- name: Run Build Commands
|
||||
run: |
|
||||
uv run --group test pkgutils.py qtlrelease
|
||||
uv run --group test pkgutils.py sample
|
||||
uv run --no-dev pkgutils.py qtlrelease
|
||||
uv run --no-dev pkgutils.py sample
|
||||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
uv run --group test coverage -m pytest -v --timeout=60
|
||||
uv run --no-dev --group test coverage run -m pytest -v --timeout=60
|
||||
|
||||
- name: Upload to Codecov
|
||||
uses: codecov/codecov-action@v5
|
||||
|
||||
+2
-2
@@ -23,9 +23,9 @@ if __name__ == "__main__":
|
||||
env["QT_SCALE_FACTOR"] = "1.0"
|
||||
|
||||
if args.r or args.t or args.u:
|
||||
cmd = [sys.executable, "-m"]
|
||||
cmd = ["coverage", "run", "-m"]
|
||||
else:
|
||||
cmd = ["coverage", "-m"]
|
||||
cmd = [sys.executable, "-m"]
|
||||
|
||||
cmd += ["pytest", "-vv"]
|
||||
if args.o:
|
||||
|
||||
Reference in New Issue
Block a user