Skip to content

Run less tests

Run less tests #4

Workflow file for this run

name: Dummy PR Test Workflow
on:
pull_request:
types: [opened] # Trigger only on PR creation
issue_comment:
types: [created] # Trigger on comment creation
jobs:
test:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.event.pull_request.number || github.ref }} # Group by PR number or branch reference
cancel-in-progress: false # Don't cancel any in-progress runs
steps:
- name: Check if it's an issue comment with /run-tests
if: ${{ github.event_name == 'issue_comment' && contains(github.event.comment.body, '/run-tests') }}
run: echo "Tests are being triggered by a comment."
- name: Simulate test run
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'issue_comment' && contains(github.event.comment.body, '/run-tests')) }}
run: |
echo "Test triggered by PR creation or /run-tests comment"
sleep 120 # Simulate a long-running test