Skip to content

Commit

Permalink
add only_commits spec to .appveyor.yml
Browse files Browse the repository at this point in the history
This commit adds an `only_commit` mapping to
`.appveyor.yml` that illustrates how to
límit CI builds to changes in code, tools
or `.appveyor.yml`.

The section has to be adapted if the
directory names are changed. Otherwise
some changes might not lead to CI-builds.
  • Loading branch information
christian-monch committed Jul 19, 2024
1 parent cdfdf54 commit 95d8376
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,15 @@ install:
#- sh: "[ -f ${HOME}/dlinstaller_env.sh ] && . ${HOME}/dlinstaller_env.sh || true"


# only run the CI if there are code changes, tooling changes,
# or changes in `.appveyor.yml`
only_commits:
files:
- .appveyor.yml
- datalad_helloworld/
- tools/


#before_build:
#

Expand Down

0 comments on commit 95d8376

Please sign in to comment.