File tree Expand file tree Collapse file tree 2 files changed +27
-14
lines changed
Expand file tree Collapse file tree 2 files changed +27
-14
lines changed Original file line number Diff line number Diff line change 1919 with :
2020 python-version : " 3.12"
2121
22+ - name : Install the latest version of uv and activate the environment
23+ uses : astral-sh/setup-uv@v6
24+ with :
25+ activate-environment : true
26+
2227 - name : Gather build version (*nix)
2328 run : |
2429 mkdir dist
3540 if : ${{ startsWith(matrix.os, 'ubuntu') }}
3641
3742 - name : Install Python Dependencies
38- run : |
39- python -m pip install --upgrade uv
40- uv sync --frozen
43+ run : uv sync --frozen
4144
4245 - name : Build single executable
4346 run : uv run pyinstaller FastFlix_Nix_OneFile.spec
6164 - name : Build Mac App
6265 if : ${{ startsWith(matrix.os, 'macos') }}
6366 run : |
64- python scripts/build_mac_app.py ${{ matrix.os }}
67+ uv run python scripts/build_mac_app.py ${{ matrix.os }}
6568 pushd dist
6669 7z a -mm=Deflate -mfb=258 -mpass=15 FastFlix_${{ env.VERSION }}_appbundle_${{ matrix.os }}_${{ env.ARCH }}.zip FastFlix.app
6770 popd
8386 with :
8487 python-version : " 3.12"
8588
89+ - name : Install the latest version of uv and activate the environment
90+ uses : astral-sh/setup-uv@v6
91+ with :
92+ activate-environment : true
93+
8694 - name : Gather build version
8795 shell : powershell
8896 run : |
98106 ACTIONS_ALLOW_UNSECURE_COMMANDS : true
99107
100108 - name : Install Python Dependencies
101- run : |
102- python -m pip install --upgrade uv
103- uv sync --frozen
109+ run : uv sync --frozen
104110
105111 - name : Build single executable
106112 shell : cmd
Original file line number Diff line number Diff line change 1414 with :
1515 python-version : " 3.12"
1616
17- - run : pip install ruff==0.12
18- - run : python -m ruff check
17+ - name : Install the latest version of uv and activate the environment
18+ uses : astral-sh/setup-uv@v6
19+ with :
20+ activate-environment : true
21+
22+ - run : uv sync --frozen
23+ - run : uv run ruff check
1924
2025 test :
2126 runs-on : ubuntu-24.04
@@ -27,18 +32,20 @@ jobs:
2732 with :
2833 python-version : " 3.12"
2934
35+ - name : Install the latest version of uv and activate the environment
36+ uses : astral-sh/setup-uv@v6
37+ with :
38+ activate-environment : true
39+
3040 - name : Install PySide6 requirements
3141 run : |
3242 sudo apt update
3343 sudo apt install libopengl0 freeglut3-dev -y
3444
3545 - name : Install requirements
36- run : |
37- python -m pip install --upgrade pip setuptools
38- pip install .
39- pip install .[develop]
46+ run : uv sync --frozen
4047
4148 - name : Run tests
4249 env :
4350 PYTEST_QT_API : pyside6
44- run : pytest tests -v
51+ run : uv run pytest tests -v
You can’t perform that action at this time.
0 commit comments