From ddcb834ac72c79593e7e7f54dbadf96a6b205ac1 Mon Sep 17 00:00:00 2001 From: jeet041 Date: Thu, 17 Apr 2025 12:50:25 +0530 Subject: [PATCH] Create pr-tests.yml Signed-off-by: jeet041 --- .github/workflows/pr-tests.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/pr-tests.yml diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml new file mode 100644 index 000000000..9b47a0b14 --- /dev/null +++ b/.github/workflows/pr-tests.yml @@ -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"