Update CI.yml

This commit is contained in:
potats0 2023-07-06 17:18:57 +08:00 committed by GitHub
parent 010511a9dc
commit 0f47bf6d30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,8 +28,8 @@ jobs:
./configure ./configure
make make
sudo make install sudo make install
sudo cpan Test::Nginx sudo cpan -T Test::Nginx
sudo cpan Test::Nginx::Socket sudo cpan -T Test::Nginx::Socket
- name: Setup openresty - name: Setup openresty
uses: leafo/gh-actions-openresty@v1 uses: leafo/gh-actions-openresty@v1
@ -37,4 +37,7 @@ jobs:
openrestyVersion: "1.21.4.1" openrestyVersion: "1.21.4.1"
- name: run test::Nginx - name: run test::Nginx
run: prove -t run: |
whereis openresty
export PATH=/usr/local/openresty/bin:$PATH
prove -t