Skip to content

Commit

Permalink
chore: run docker build if Dockerfile changes, run tests if source ch…
Browse files Browse the repository at this point in the history
…anges

Signed-off-by: Dusan Malusev <[email protected]>
  • Loading branch information
CodeLieutenant committed Jan 27, 2025
1 parent 5d89147 commit c922984
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ on:
- cron: '0 0 1,15 * *'
workflow_call:
workflow_dispatch:

push:
branches:
- v1.3.x
paths:
- 'docker/Dockerfile'
- 'docker/php.ini'
- '.github/workflows/test-images.yml'
- '.github/workflows/docker-image.yml'
jobs:
build:
strategy:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,23 @@ on:
push:
branches:
- v1.3.x
paths:
- 'cmake/**'
- 'src/**'
- 'include/**'
- 'utils/**'
- 'tests/**'
- '.github/workflows/test.yml'
pull_request:
branches:
- v1.3.x
paths:
- 'cmake/**'
- 'src/**'
- 'include/**'
- 'utils/**'
- 'tests/**'
- '.github/workflows/test.yml'
jobs:
test:
strategy:
Expand Down

0 comments on commit c922984

Please sign in to comment.