Skip to content

Commit

Permalink
fix: missing venv activation in gitlab ci
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneWallet committed Jan 25, 2025
1 parent b19c0f8 commit a719ff3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/python-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- name: Check python code
run: |
source .venv/bin/activate
bash scripts/check_python_code.sh
Expand All @@ -46,6 +47,7 @@ jobs:
- name: Test python code
run: |
source .venv/bin/activate
bash scripts/launch_unit_tests.sh
Expand All @@ -69,6 +71,7 @@ jobs:
- name: Check and Build Documentation
run: |
source .venv/bin/activate
bash scripts/build_doc.sh

Expand Down Expand Up @@ -103,11 +106,14 @@ jobs:

- name: Build python code
if: steps.dist-cache.outputs.cache-hits != 'true'
run: bash scripts/build.sh
run: |
source .venv/bin/activate
bash scripts/build.sh
- name: retrieve version
id: retrieve-version
run: |
source .venv/bin/activate
PACKAGE_VERSION=$(bump2version --dry-run --list patch | grep current_version | sed -E 's/.*=//')
echo "package_version=$PACKAGE_VERSION" >> $GITHUB_OUTPUT
if [ $GITHUB_REF == "refs/heads/main" ]
Expand Down

0 comments on commit a719ff3

Please sign in to comment.