From 0f47bf6d30398e23aca0904f9937937e732ec79b Mon Sep 17 00:00:00 2001 From: potats0 <42128471+potats0@users.noreply.github.com> Date: Thu, 6 Jul 2023 17:18:57 +0800 Subject: [PATCH] Update CI.yml --- .github/workflows/CI.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d61834f..72edef4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -28,8 +28,8 @@ jobs: ./configure make sudo make install - sudo cpan Test::Nginx - sudo cpan Test::Nginx::Socket + sudo cpan -T Test::Nginx + sudo cpan -T Test::Nginx::Socket - name: Setup openresty uses: leafo/gh-actions-openresty@v1 @@ -37,4 +37,7 @@ jobs: openrestyVersion: "1.21.4.1" - name: run test::Nginx - run: prove -t + run: | + whereis openresty + export PATH=/usr/local/openresty/bin:$PATH + prove -t