Fix Diun chart CI Python environment
This commit is contained in:
@@ -21,10 +21,12 @@ jobs:
|
||||
uses: azure/setup-helm@v4
|
||||
with:
|
||||
version: ${{ env.HELM_VERSION }}
|
||||
- name: Install chart test dependency
|
||||
run: python3 -m pip install --user PyYAML
|
||||
- name: Lint, render and test chart behavior
|
||||
run: ./test.sh
|
||||
run: |
|
||||
set -euo pipefail
|
||||
python3 -m venv "${RUNNER_TEMP}/diun-test-venv"
|
||||
"${RUNNER_TEMP}/diun-test-venv/bin/pip" install PyYAML
|
||||
PATH="${RUNNER_TEMP}/diun-test-venv/bin:${PATH}" ./test.sh
|
||||
|
||||
publish:
|
||||
name: Publish and promote chart
|
||||
|
||||
Reference in New Issue
Block a user