mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:35:50 +00:00
Create pr-tests.yml
Signed-off-by: jeet041 <mahorjitendra@gmail.com>
This commit is contained in:
parent
85cec35d7d
commit
ddcb834ac7
1 changed files with 25 additions and 0 deletions
25
.github/workflows/pr-tests.yml
vendored
Normal file
25
.github/workflows/pr-tests.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
# .github/workflows/pr-tests.yml
|
||||
name: Run PR Tests
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
pr_number:
|
||||
description: 'Pull request number'
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
run-tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout PR code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: refs/pull/${{ github.event.inputs.pr_number }}/merge
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
echo "Running tests for PR #${{ github.event.inputs.pr_number }}"
|
||||
# Replace this with actual test commands
|
||||
echo "✅ Tests complete"
|
Loading…
Reference in a new issue