Skip to content

Commit 3dace22

Browse files
.github/workflows/test-valgrind.yml: test different mupdf's - default, master, release branch.
1 parent 430fc59 commit 3dace22

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed
Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
11
name: Test valgrind
22

33
on:
4+
workflow_dispatch:
45
schedule:
56
- cron: '13 6 * * *'
6-
workflow_dispatch:
7-
inputs:
8-
scripts_test_options:
9-
description: 'Extra options for scripts/test.py.'
107

118
jobs:
129

1310
valgrind:
14-
name: Test valgrind
15-
runs-on: ${{ matrix.os }}
11+
name: valgrind
12+
runs-on: ubuntu-latest
1613
strategy:
1714
matrix:
18-
os: [ubuntu-latest]
19-
15+
args: [
16+
'',
17+
'-m "git:--branch master https://github.com/ArtifexSoftware/mupdf"',
18+
'-m "git:--branch 1.26.x https://github.com/ArtifexSoftware/mupdf"',
19+
]
20+
fail-fast: false
21+
2022
steps:
21-
2223
- uses: actions/checkout@v4
2324
- uses: actions/setup-python@v5
24-
25-
- name: test_mupdf-master-branch
26-
env:
27-
PYMUDF_SCRIPTS_TEST_options: ${{inputs.scripts_test_options}}
25+
- name: valgrind
2826
run:
29-
python scripts/test.py -m 'git:--recursive --depth 1 --shallow-submodules --branch master https://github.com/ArtifexSoftware/mupdf.git' -P 1 --valgrind 1 buildtest
27+
python scripts/test.py ${{matrix.args}} -P 1 --valgrind 1 build test

0 commit comments

Comments
 (0)