Skip to content

Commit

Permalink
Run tests only when relevant files have changed
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed Mar 17, 2024
1 parent 0ced0f6 commit 55f0fd1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,19 @@ name: Tests

on:
pull_request:
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/tests.yml'
- 'composer.json'
push:
branches: ['main']
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/tests.yml'
- 'composer.json'
workflow_dispatch:

jobs:
tests:
Expand Down

0 comments on commit 55f0fd1

Please sign in to comment.