Skip to content

Commit 444d1e8

Browse files
committed
Tests: Add JWT license file for NGINX Plus R34.
1 parent 3de8544 commit 444d1e8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci-functional-perl.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
echo '${{ secrets.NGINX_REPO_CRT }}' | sudo tee /etc/ssl/nginx/nginx-repo.crt > /dev/null
2525
echo '${{ secrets.NGINX_REPO_KEY }}' | sudo tee /etc/ssl/nginx/nginx-repo.key > /dev/null
2626
27+
- name: Prepare NGINX Plus license token
28+
run: |
29+
echo '${{ secrets.NGINX_LIC }}' | tee $RUNNER_TEMP/lic > /dev/null
30+
2731
- name: Configure NGINX Plus repository
2832
run: |
2933
wget --certificate=/etc/ssl/nginx/nginx-repo.crt --private-key=/etc/ssl/nginx/nginx-repo.key \
@@ -52,10 +56,11 @@ jobs:
5256
5357
- name: Checkout nginx-test
5458
run: |
55-
hg clone http://hg.nginx.org/nginx-tests/
59+
git clone https://github.com/nginx/nginx-tests.git
5660
5761
- name: Run tests
5862
working-directory: t
5963
run: |
6064
PERL5LIB=../nginx-tests/lib TEST_NGINX_BINARY=/usr/sbin/nginx TEST_NGINX_VERBOSE=1 \
61-
TEST_NGINX_GLOBALS="load_module /etc/nginx/modules/ngx_http_js_module-debug.so;" prove -v .
65+
TEST_NGINX_GLOBALS="load_module /etc/nginx/modules/ngx_http_js_module-debug.so; mgmt {license_token $RUNNER_TEMP/lic;}" \
66+
prove -v .

0 commit comments

Comments
 (0)