diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ea8a44ef..832aea101 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -185,6 +185,25 @@ jobs: wasmer: 3.1.1 debug: debug hup: no_hup + path: t/04-openresty + # Wasmtime hfuncs + - runtime: wasmtime + wasmtime: 14.0.3 + os: ubuntu-22.04 + cc: gcc-12 + ngx: 1.25.3 + hup: no_hup + debug: debug + path: t/03-proxy_wasm/hfuncs + # Wasmer hfuncs + - runtime: wasmer + wasmer: 3.1.1 + os: ubuntu-22.04 + cc: gcc-12 + ngx: 1.25.3 + hup: no_hup + debug: debug + path: t/03-proxy_wasm/hfuncs uses: ./.github/workflows/job-valgrind-tests.yml with: os: ${{ matrix.os }} diff --git a/.github/workflows/job-valgrind-tests.yml b/.github/workflows/job-valgrind-tests.yml index 759ba350d..cbabf82d0 100644 --- a/.github/workflows/job-valgrind-tests.yml +++ b/.github/workflows/job-valgrind-tests.yml @@ -33,6 +33,9 @@ on: hup: required: true type: string + path: + required: false + type: string defaults: run: @@ -101,7 +104,10 @@ jobs: ghcr_password: ${{ secrets.TOKEN_GITHUB }} - run: make setup - run: make - - run: make test 2>&1 | tee valgrind.out + #- run: make test 2>&1 | tee valgrind.out + - run: | + IN_PATH="${{ github.event.inputs.path }}" + ./util/test.sh ${IN_PATH:-t/} 2>&1 | tee valgrind.out - run: | awk -f ./util/parse-valgrind.awk valgrind.out > valgrind.log if [[ -s valgrind.log ]]; then diff --git a/t/TestWasm.pm b/t/TestWasm.pm index 9493a58e2..b61efee26 100644 --- a/t/TestWasm.pm +++ b/t/TestWasm.pm @@ -231,7 +231,7 @@ add_block_preprocessor(sub { && $ENV{TEST_NGINX_USE_VALGRIND} && $block->skip_valgrind =~ m/\s*(\d+)/) { - $block->set_value("skip_eval", sprintf '%d: $ENV{TEST_NGINX_USE_VALGRIND} && !$ENV{TEST_NGINX_USE_VALGRIND_ALL}', $1); + $block->set_value("skip_eval", sprintf '%d: $ENV{TEST_NGINX_USE_VALGRIND}', $1); } # --- timeout_expected: 1