mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 11:51:19 +00:00
chore: use UV action venv setup
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -285,19 +285,16 @@ jobs:
|
|||||||
uses: astral-sh/setup-uv@v5
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
|
python-version: ${{ matrix.python-version }}
|
||||||
cache-dependency-glob: "requirements**.txt"
|
cache-dependency-glob: "requirements**.txt"
|
||||||
cache-suffix: "${{ matrix.python-version }}"
|
cache-suffix: "${{ matrix.python-version }}"
|
||||||
prune-cache: false
|
prune-cache: false
|
||||||
|
|
||||||
- name: Installation
|
- name: Installation
|
||||||
run: |
|
run: |
|
||||||
uv venv
|
|
||||||
.venv\Scripts\activate
|
|
||||||
# persist the venv path for future steps
|
|
||||||
"$(pwd)/.venv/Scripts" >> $env:GITHUB_PATH
|
|
||||||
|
|
||||||
function uvpipFunction { uv pip $args }
|
function uvpipFunction { uv pip $args }
|
||||||
Set-Alias -name pip -value uvpipFunction
|
Set-Alias -name pip -value uvpipFunction
|
||||||
|
|
||||||
./build_helpers/install_windows.ps1
|
./build_helpers/install_windows.ps1
|
||||||
|
|
||||||
- name: Tests
|
- name: Tests
|
||||||
|
|||||||
Reference in New Issue
Block a user