fix: use posix shell syntax for activation
Some checks failed
Python Package CI/CD / Setup and Test (push) Successful in 1m29s
Python Package CI/CD / Publish to PyPI (push) Failing after 18s

Switched the virtual environment activation command to be compliant with POSIX shell syntax. The previous `source` command is replaced with `.`, making the script more broadly compatible with different shell environments without requiring bash specifically. This change ensures greater portability and compatibility of the release workflow across diverse CI/CD execution environments.
This commit is contained in:
Kumi 2024-04-15 19:11:49 +02:00
parent c33efd2e73
commit 9110910b11
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -25,7 +25,7 @@ jobs:
run: |
python3 -V
python3 -m venv venv
source venv/bin/activate
. ./venv/bin/activate
pip install -U pip
pip install .[all]
@ -46,7 +46,7 @@ jobs:
- name: Set up Python environment
run: |
python3 -m venv venv
source venv/bin/activate
. ./venv/bin/activate
- name: Install publishing tools
run: |