Skip to content

Commit

Permalink
Add path selectors to the gh-actions tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurakgun committed Nov 21, 2022
1 parent 419f469 commit f11a093
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@ on:
push:
branches:
- master # run for the master branch
paths:
- conjure-cp.cabal
- Makefile
- src/**
- etc/build/**
pull_request: # and for PRs
paths:
- conjure-cp.cabal
- Makefile
- src/**
- etc/build/**
# other branches that want testing must create a PR

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/solvers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ on:
push:
branches:
- master # run for the master branch
paths:
- etc/build/install*.sh
- Makefile
pull_request: # and for PRs
paths:
- etc/build/install*.sh
- Makefile
# other branches that want testing must create a PR

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
push:
branches:
- master # run for the master branch only
paths:
- conjure-cp.cabal
- Makefile
- src/**
- tests/**
- etc/build/**

jobs:

Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,19 @@ on:
push:
branches:
- master # run for the master branch
paths:
- conjure-cp.cabal
- Makefile
- src/**
- tests/**
- etc/build/**
pull_request: # and for PRs
paths:
- conjure-cp.cabal
- Makefile
- src/**
- tests/**
- etc/build/**
# other branches that want testing must create a PR

jobs:
Expand Down

0 comments on commit f11a093

Please sign in to comment.