File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 24
24
echo '${{ secrets.NGINX_REPO_CRT }}' | sudo tee /etc/ssl/nginx/nginx-repo.crt > /dev/null
25
25
echo '${{ secrets.NGINX_REPO_KEY }}' | sudo tee /etc/ssl/nginx/nginx-repo.key > /dev/null
26
26
27
+ - name : Prepare NGINX Plus license token
28
+ run : |
29
+ echo '${{ secrets.NGINX_LIC }}' | tee $RUNNER_TEMP/lic > /dev/null
30
+
27
31
- name : Configure NGINX Plus repository
28
32
run : |
29
33
wget --certificate=/etc/ssl/nginx/nginx-repo.crt --private-key=/etc/ssl/nginx/nginx-repo.key \
@@ -52,10 +56,11 @@ jobs:
52
56
53
57
- name : Checkout nginx-test
54
58
run : |
55
- hg clone http ://hg. nginx.org /nginx-tests/
59
+ git clone https ://github.com/ nginx/nginx-tests.git
56
60
57
61
- name : Run tests
58
62
working-directory : t
59
63
run : |
60
64
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 .
You can’t perform that action at this time.
0 commit comments