Skip to content

Commit

Permalink
Add pre-merge tests
Browse files Browse the repository at this point in the history
Add tests with pre-merge tag to
pre-merge-pipeline and stage for those
test on ghaf-hw-test

Signed-off-by: Ville-Pekka Juntunen <[email protected]>
  • Loading branch information
vjuntunen committed Jan 30, 2025
1 parent 749af3c commit 9451e9a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions ghaf-hw-test.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,14 @@ pipeline {
}
}
}
stage('Pre-merge test') {
when { expression { env.BOOT_PASSED == 'true' && env.TESTSET.contains('_pre-merge_')} }
steps {
script {
ghaf_robot_test('pre-merge')
}
}
}
stage('Bat test') {
when { expression { env.BOOT_PASSED == 'true' && env.TESTSET.contains('_bat_')} }
steps {
Expand Down
2 changes: 1 addition & 1 deletion ghaf-pre-merge-pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pipeline {
dir(WORKDIR) {
script {
utils.nix_eval_jobs(targets)
target_jobs = utils.create_parallel_stages(targets, testset='_boot_')
target_jobs = utils.create_parallel_stages(targets, testset='_boot_pre-merge_')
}
}
}
Expand Down

0 comments on commit 9451e9a

Please sign in to comment.