Skip to content

Commit

Permalink
ci: add configuration tto run proxy with zstd package to test streami…
Browse files Browse the repository at this point in the history
…ng with proxy
  • Loading branch information
NlightNFotis committed Dec 4, 2024
1 parent 8cbf72e commit 2ff0598
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 5 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/__test-proxy.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pr-checks/checks/test-proxy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "Proxy test"
description: "Tests using a proxy specified by the https_proxy environment variable"
versions: ["linked"]
versions: ["linked", "nightly-latest"]
operatingSystems: ["ubuntu"]
container:
image: ubuntu:22.04
Expand Down
7 changes: 7 additions & 0 deletions pr-checks/justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Perform all necessary steps to update the PR checks
update-pr-checks:
python3 -m venv env
env/bin/activate
pip3 install ruamel.yaml
python3 sync.py
git apply pr-checks.patch
18 changes: 18 additions & 0 deletions pr-checks/test-proxy.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
diff --git a/.github/workflows/__test-proxy.yml b/.github/workflows/__test-proxy.yml
index b6831b7a0..3be758b02 100644
--- a/.github/workflows/__test-proxy.yml
+++ b/.github/workflows/__test-proxy.yml
@@ -45,6 +45,13 @@ jobs:
python-version: '3.11'
- name: Check out repository
uses: actions/checkout@v4
+ - name: Set up GitHub CLI
+ run: |
+ curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
+ sudo apt-key add /usr/share/keyrings/githubcli-archive-keyring.gpg
+ sudo apt-add-repository https://cli.github.com/packages
+ sudo apt-get update
+ sudo apt-get install gh
- name: Prepare test
id: prepare-test
uses: ./.github/actions/prepare-test

0 comments on commit 2ff0598

Please sign in to comment.