Skip to content

Commit b3da380

Browse files
committed
CI: run "full-test" in selected jobs.
1 parent f38a41a commit b3da380

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ jobs:
6060
nginx-ref: stable-1.28
6161
build: debug
6262

63+
env:
64+
testTarget: >-
65+
${{ (matrix.nginx-ref == 'stable-1.28' && matrix.build == 'debug')
66+
&& 'full-test'
67+
|| 'test'
68+
}}
69+
6370
runs-on: ${{ matrix.runner }}-latest
6471

6572
steps:
@@ -73,8 +80,6 @@ jobs:
7380
with:
7481
repository: 'nginx/nginx-tests'
7582
path: 'nginx/tests'
76-
sparse-checkout: |
77-
lib
7883

7984
- uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
8085
with:
@@ -117,4 +122,4 @@ jobs:
117122
- name: run tests
118123
# always run if build succeeds
119124
if: ${{ !cancelled() && steps.build.outcome == 'success' }}
120-
run: make BUILD=${{ matrix.build }} TEST_PREREQ= test
125+
run: make BUILD=${{ matrix.build }} TEST_PREREQ= ${{ env.testTarget }}

0 commit comments

Comments
 (0)