Skip to content

Commit

Permalink
tests(workflows) debug
Browse files Browse the repository at this point in the history
  • Loading branch information
locao committed Jun 9, 2022
1 parent 9619aa5 commit 03226d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 69 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_and_test_with_resty_events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
openresty-version: [1.15.8.3, 1.17.8.2, 1.19.9.1, 1.21.4.1]
openresty-version: [1.15.8.3]

steps:
- name: Update and install OS dependencies
Expand All @@ -33,7 +33,7 @@ jobs:
echo "OPENSSL=$OPENSSL_VER" >> $GITHUB_ENV
echo "PCRE=$PCRE_VER" >> $GITHUB_ENV
echo "RESTY_EVENTS=$RESTY_EVENTS_VER" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$HOME/install-root/openssl/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$HOME/install-root/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
- name: Checkout lua-resty-healthcheck
uses: actions/checkout@v3
Expand All @@ -47,7 +47,7 @@ jobs:

- name: Add to Path
if: steps.cache-deps.outputs.cache-hit != 'true'
run: echo "$INSTALL_ROOT/openssl/bin:$INSTALL_ROOT/openresty/nginx/sbin:$INSTALL_ROOT/openresty/bin:$INSTALL_ROOT/luarocks/bin:$INSTALL_ROOT/bin" >> $GITHUB_PATH
run: echo "$INSTALL_ROOT/bin:$INSTALL_ROOT/nginx/sbin:$INSTALL_ROOT/luajit/bin" >> $GITHUB_PATH

- name: Build and install OpenSSL
if: steps.cache-deps.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -128,8 +128,8 @@ jobs:

- name: Run tests
env:
PATH: ${{ env.INSTALL_ROOT }}/openssl/bin:${{ env.INSTALL_ROOT }}/openresty/nginx/sbin:${{ env.INSTALL_ROOT }}/openresty/bin:${{ env.INSTALL_ROOT }}/luarocks/bin:${{ env.INSTALL_ROOT }}/bin:/usr/bin
TEST_NGINX_BINARY: ${{ env.INSTALL_ROOT }}/openresty/nginx/sbin/nginx
PATH: ${{ env.INSTALL_ROOT }}/bin:${{ env.INSTALL_ROOT }}/nginx/sbin:${{ env.INSTALL_ROOT }}/luajit/bin
TEST_NGINX_BINARY: ${{ env.INSTALL_ROOT }}/nginx/sbin/nginx
run: |
eval `luarocks path`
eval $(perl -I $HOME/perl5/lib/perl5/ -Mlocal::lib)
Expand Down
64 changes: 0 additions & 64 deletions .github/workflows/build_and_test_with_worker_events.yml

This file was deleted.

0 comments on commit 03226d3

Please sign in to comment.