Skip to content

Commit 48492d1

Browse files
authored
ci: only run test-valigrind on main (#997)
1 parent b734c8e commit 48492d1

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/ci-job.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107

108108
- name: Test (valgrind)
109109
id: test-valgrind
110-
if: inputs.job == 'test-valgrind'
110+
if: inputs.is_main && inputs.job == 'test-valgrind'
111111
uses: ./.github/workflows/ci-test-valgrind
112112

113113
- name: Publish (dry-run)

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,7 @@ jobs:
5656
config: |-
5757
linux:
5858
os: ubuntu-24.04
59-
jobs: [coverage, lint, lint-deps, test, test-miri, test-ops, test-publish]
60-
linux-xl:
61-
os: ubuntu-22.04-xl
62-
jobs: [test-valgrind]
59+
jobs: [coverage, lint, lint-deps, test, test-miri, test-ops, test-publish, test-valgrind]
6360
linux-arm:
6461
os: ubuntu-22.04-arm64
6562
jobs: [lint, test, test-miri]

0 commit comments

Comments
 (0)