Skip to content

Commit

Permalink
CI: Ignore some file and cancel run when there is a new push
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Nov 21, 2024
1 parent af564b8 commit a1441ca
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 3 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/macos-linux-pip.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,31 @@
name: Build Coal for Mac OS X/Linux via pip
name: CI - MacOS/Linux via pip

on: [push, pull_request]
on:
push:
paths-ignore:
- .gitlab-ci.yml
- .gitignore
- '*.md'
- CITATION.*
- LICENSE
- colcon.pkg
- .pre-commit-config.yaml
- CHANGELOG.md
- development/*.md
pull_request:
paths-ignore:
- .gitlab-ci.yml
- .gitignore
- '*.md'
- CITATION.*
- LICENSE
- colcon.pkg
- .pre-commit-config.yaml
- CHANGELOG.md
- development/*.md
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
CTEST_OUTPUT_ON_FAILURE: 1
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@ name: "CI - Nix"

on:
push:
paths-ignore:
- .gitlab-ci.yml
- .gitignore
- '*.md'
- CITATION.*
- LICENSE
- colcon.pkg
- .pre-commit-config.yaml
- CHANGELOG.md
- development/*.md
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
nix:
Expand Down
25 changes: 24 additions & 1 deletion .github/workflows/ros_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,30 @@
name: ROS-CI

# This determines when this workflow is run
on: [push, pull_request] # on all pushes and PRs
on:
push:
paths-ignore:
- .gitlab-ci.yml
- .gitignore
- '*.md'
- CITATION.*
- LICENSE
- .pre-commit-config.yaml
- CHANGELOG.md
- development/*.md
pull_request:
paths-ignore:
- .gitlab-ci.yml
- .gitignore
- '*.md'
- CITATION.*
- LICENSE
- .pre-commit-config.yaml
- CHANGELOG.md
- development/*.md
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
CI:
Expand Down

0 comments on commit a1441ca

Please sign in to comment.