Skip to content

Commit

Permalink
chore: e2e test support noble w/ pipx (#261)
Browse files Browse the repository at this point in the history
* fix: e2e run json schema error

* add comment for pipx & check jsonschema
  • Loading branch information
yanksyoon authored Apr 11, 2024
1 parent f582a5c commit 4f1d2ea
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/e2e_test_run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,19 @@ jobs:
run: jq --version
- name: yq version
run: yq --version
- name: apt update
run: sudo apt-get update -y
# Use pipx for 24.04 noble, check-jsonschema breaks OS system packages.
- name: install pipx
run: sudo apt-get install -y pipx
- name: install check-jsonschema
run: python3 -m pip install check-jsonschema
run: python3 -m pip install check-jsonschema || pipx install check-jsonschema
- name: unzip version
run: unzip -v
- name: gh version
run: gh --version
# `check-jsonschema` is installed using pip. The directory `~/.local/bin` needs to be added to PATH.
# ~/.local/bin is added to path runner env through in scripts/env.j2
- name: test check-jsonschema
run: check-jsonschema --version
- name: Test Firewall
Expand Down

0 comments on commit 4f1d2ea

Please sign in to comment.