Skip to content

Commit

Permalink
Merge pull request #1415 from SamFlt/fix_ci
Browse files Browse the repository at this point in the history
CI changes
  • Loading branch information
fspindle authored May 28, 2024
2 parents c345d1c + f437f7a commit 1efa2f4
Show file tree
Hide file tree
Showing 19 changed files with 31 additions and 27 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Code-coverage

# https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events
on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 2 * * SUN'

Expand Down Expand Up @@ -65,14 +65,14 @@ jobs:
'/usr/*' \
'*/private/*' \
'*/test/*' \
"/home/runner/work/visp/visp/3rdparty/*" \
"/home/runner/work/visp/visp/demo/*" \
"/home/runner/work/visp/visp/example/*" \
"/home/runner/work/visp/visp/samples/*" \
"/home/runner/work/visp/visp/modules/gui*" \
"/home/runner/work/visp/visp/modules/io/src/parallel-port*" \
"/home/runner/work/visp/visp/modules/robot*" \
"/home/runner/work/visp/visp/modules/sensor*" \
"/*/3rdparty/*" \
"/*/demo/*" \
"/*/example/*" \
"/*/samples/*" \
"/*/modules/gui*" \
"/*/modules/io/src/parallel-port*" \
"/*/modules/robot*" \
"/*/modules/sensor*" \
--output-file visp-coverage.cleaned
- name: Upload report to Codecov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: iOS

# https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events
on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 2 * * SUN'

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/macos-linux-conda.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: MacOS-Linux-conda-CI

on: [push,pull_request]
on:
pull_request:
types: [opened, reopened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos-ustk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: MacOS-ustk

# https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events
on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 2 * * SUN'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: MacOS

# https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events
on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 2 * * SUN'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/other-arch-isolated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Other-architectures-isolated
# https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events
# https://github.com/uraimo/run-on-arch-action
on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 2 * * SUN'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/other-arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Other-architectures
# https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events
# https://github.com/uraimo/run-on-arch-action
on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 2 * * SUN'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-3rdparty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Ubuntu-3rdparty

# https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events
on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 2 * * SUN'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Ubuntu-contrib

# https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events
on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 2 * * SUN'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-dep-apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Ubuntu-dep-apt

# https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events
on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 2 * * SUN'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-dep-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Ubuntu-dep-src

# https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events
on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 2 * * SUN'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-isolated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Ubuntu-isolated

# https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events
on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 2 * * SUN'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-sanitizers.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Ubuntu-sanitizers

on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
# https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#scheduled-events
# * is a special character in YAML so you have to quote this string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-ustk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Ubuntu-ustk

# https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events
on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 2 * * SUN'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-venv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Ubuntu-python-bindings-venv

# https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events
on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 2 * * SUN'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Ubuntu-valgrind

# https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events
on:
push:
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 2 * * SUN'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-clang.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Windows - clang
on:
pull_request:
push:
types: [opened, reopened, synchronize]

# https://stackoverflow.com/questions/66335225/how-to-cancel-previous-runs-in-the-pr-when-you-push-new-commitsupdate-the-curre#comment133398800_72408109
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/windows-conda.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Windows-conda-CI

on: [push,pull_request]
on:
pull_request:
types: [opened, reopened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-msvc.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Windows - Visual 2019
on:
pull_request:
push:
types: [opened, reopened, synchronize]

# https://stackoverflow.com/questions/66335225/how-to-cancel-previous-runs-in-the-pr-when-you-push-new-commitsupdate-the-curre#comment133398800_72408109
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
Expand Down

0 comments on commit 1efa2f4

Please sign in to comment.