Skip to content

Commit

Permalink
Streamlining GitHub CI, to be lighter during development (#1888)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science authored Sep 17, 2024
1 parent 0b3c7c1 commit 2f95a18
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
paths-ignore:
- 'doc/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
# Deploying coverage to coveralls.io should not happen on forks
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
# Building and deploying docs is broken on forked repos
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/mac_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ permissions:

on:
push:
branches:
- main
paths-ignore:
- 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/unittests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
paths-ignore:
- 'doc/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/wintests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ permissions:

on:
push:
branches:
- main
paths-ignore:
- 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:

Expand Down

0 comments on commit 2f95a18

Please sign in to comment.