Skip to content

Commit 13b5452

Browse files
authored
Update test-linux.yml
1 parent 0ab1e59 commit 13b5452

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

.github/workflows/test-linux.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,32 @@ on:
66
pull_request:
77
branches: [ v12.x-httpp ]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
11+
cancel-in-progress: true
12+
913
env:
10-
PYTHON_VERSION: 3.7
11-
FLAKY_TESTS: dontcare
14+
PYTHON_VERSION: '3.11'
15+
FLAKY_TESTS: keep_retrying
16+
17+
permissions:
18+
contents: read
1219

1320
jobs:
1421
test-linux:
22+
if: github.event.pull_request.draft == false
1523
runs-on: ubuntu-latest
1624
steps:
17-
- uses: actions/checkout@v2
18-
- name: Checkout submodules
19-
uses: srt32/[email protected]
25+
- uses: actions/checkout@v3
2026
with:
21-
args: git submodule update --init --recursive
27+
persist-credentials: false
2228
- name: Set up Python ${{ env.PYTHON_VERSION }}
23-
uses: actions/setup-python@v1
29+
uses: actions/setup-python@v4
2430
with:
2531
python-version: ${{ env.PYTHON_VERSION }}
2632
- name: Environment Information
2733
run: npx envinfo
2834
- name: Build
29-
run: make build-ci -j2 V=1
35+
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
3036
- name: Test
31-
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p dots"
37+
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"

0 commit comments

Comments
 (0)