Skip to content

Commit 40dd4c2

Browse files
committed
github: add push/PR workflow support with fixed validation tests
Add new push.yml workflow that triggers on push and pull_request events with fixed validation testing parameters: - Fixed kernel: v6.15 on linux tree - Fixed workflows: blktests_nvme and xfs_reflink_4k - Fixed mode: kdevops-validation (single test execution) - Auto-assigned tests: block/003 and generic/003 respectively Also disable docker-tests.yml workflow (rename to .disabled) to reduce CI noise and add push-test.yml for debugging push/PR triggers. The push.yml workflow follows the same architecture as schedule.yml and manual.yml by calling the reusable main.yml workflow, enabling fast validation CI runs on every push and PR. Generated-by: Claude AI Signed-off-by: Daniel Gomez <[email protected]>
1 parent 2e3a2fd commit 40dd4c2

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed
File renamed without changes.

.github/workflows/push-test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
---
3+
name: Test Push/PR Trigger
4+
5+
on:
6+
push:
7+
branches:
8+
- '**'
9+
pull_request:
10+
branches:
11+
- '**'
12+
13+
jobs:
14+
test:
15+
name: Test Job
16+
runs-on: [self-hosted]
17+
steps:
18+
- name: Test step
19+
run: |
20+
echo "Push/PR trigger is working!"
21+
echo "Event: ${{ github.event_name }}"
22+
echo "Ref: ${{ github.ref }}"

.github/workflows/push.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
---
3+
name: Run kdevops CI Workflow - Push/PR
4+
5+
on:
6+
push:
7+
branches:
8+
- '**'
9+
pull_request:
10+
branches:
11+
- '**'
12+
13+
jobs:
14+
push-pr:
15+
name: Push/PR kdevops CI
16+
uses: ./.github/workflows/main.yml
17+
secrets: inherit
18+
strategy:
19+
matrix:
20+
ci_workflow:
21+
- blktests_nvme
22+
- xfs_reflink_4k
23+
with:
24+
ci_workflow: ${{ matrix.ci_workflow }}
25+
kernel_ref: 'v6.15'
26+
kernel_tree: 'linux'
27+
test_mode: 'kdevops-validation'
28+
tests: ''

0 commit comments

Comments
 (0)