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