Skip to content

Commit

Permalink
Action triggered only if test file modified.
Browse files Browse the repository at this point in the history
  • Loading branch information
franckferman authored Oct 27, 2023
1 parent a515659 commit 8d2f95c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ name: unittest

on:
push:
branches:
- stable
branches: [ "stable" ]
paths:
- 'tests/test_MetaDetective.py'
pull_request:
branches:
- stable
branches: [ "stable" ]
paths:
- 'tests/test_MetaDetective.py'

jobs:
unittest:
Expand All @@ -23,4 +25,3 @@ jobs:

- name: Run Unit Tests
run: python -m unittest discover tests -p '*test*.py'

0 comments on commit 8d2f95c

Please # to comment.