Skip to content

Commit

Permalink
enable venv
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
  • Loading branch information
Lawouach committed Apr 19, 2024
1 parent a443de1 commit b116ec8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: "3.8"
python-version: "3.11"
- name: Prepare Release
env:
GH_EMAIL: ${{ secrets.GH_EMAIL }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
run: pdm install --prod -G chaostoolkit -G extra
- name: Build for Linux
run: |
$(pdm venv activate)
export CHAOSTOOLKIT_PATH=`which chaos`
pyinstaller chaos.spec
export CAL_VERSION=`cat VERSION`
Expand Down Expand Up @@ -47,6 +48,7 @@ jobs:
run: pdm install --prod -G chaostoolkit -G extra
- name: Build for MacOSX
run: |
$(pdm venv activate)
export CHAOSTOOLKIT_PATH=`which chaos`
pyinstaller chaos.spec
export CAL_VERSION=`cat VERSION`
Expand Down Expand Up @@ -76,6 +78,7 @@ jobs:
run: pdm install --prod -G chaostoolkit -G extra
- name: Build for Windows
run: |
Invoke-Expression (pdm venv activate)
$env:CHAOSTOOLKIT_PATH=$(python -c "import importlib;print(importlib.import_module('chaostoolkit.__main__').__file__)")
$env:CAL_VERSION=$(type VERSION)
$env:PYTHONUTF8=1
Expand Down

0 comments on commit b116ec8

Please sign in to comment.