Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/completion_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ name: completion-tests

on:
push:
branches-ignore:
- c-main
- c-3.2
branches:
- main
- v*.*.x
pull_request:
branches:
- main
- v*.*.x

permissions:
contents: read
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/easybuild_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ name: easybuild-tests

on:
push:
branches-ignore:
- c-main
- c-3.2
branches:
- main
- v*.*.x
pull_request:
branches:
- main
- v*.*.x

permissions:
contents: read
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/lint_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ name: lint-tests

on:
push:
branches-ignore:
- c-main
- c-3.2
branches:
- main
- v*.*.x
pull_request:
branches:
- main
- v*.*.x

permissions:
contents: read
Expand Down
45 changes: 24 additions & 21 deletions .github/workflows/linux_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ name: linux-tests

on:
push:
branches-ignore:
- c-main
- c-3.2
branches:
- main
- v*.*.x
pull_request:
branches:
- main
- v*.*.x

permissions:
contents: read
Expand Down Expand Up @@ -67,10 +70,10 @@ jobs:
- name: Uninstall Modules
run: |
make uninstall
# no token needed: public repo uses Codecov's tokenless upload via
# GitHub OIDC, which also works for pull requests coming from forks
# (base repo secrets are never exposed to fork-triggered PR runs)
- uses: codecov/codecov-action@v7
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/upload-artifact@v7
if: failure()
with:
Expand Down Expand Up @@ -155,10 +158,10 @@ jobs:
- name: Uninstall Modules
run: |
make uninstall
# no token needed: public repo uses Codecov's tokenless upload via
# GitHub OIDC, which also works for pull requests coming from forks
# (base repo secrets are never exposed to fork-triggered PR runs)
- uses: codecov/codecov-action@v7
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/upload-artifact@v7
if: failure()
with:
Expand Down Expand Up @@ -239,10 +242,10 @@ jobs:
- name: Uninstall Modules
run: |
make uninstall
# no token needed: public repo uses Codecov's tokenless upload via
# GitHub OIDC, which also works for pull requests coming from forks
# (base repo secrets are never exposed to fork-triggered PR runs)
- uses: codecov/codecov-action@v7
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/upload-artifact@v7
if: failure()
with:
Expand Down Expand Up @@ -308,10 +311,10 @@ jobs:
- name: Uninstall Modules
run: |
make uninstall
# no token needed: public repo uses Codecov's tokenless upload via
# GitHub OIDC, which also works for pull requests coming from forks
# (base repo secrets are never exposed to fork-triggered PR runs)
- uses: codecov/codecov-action@v7
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/upload-artifact@v7
if: failure()
with:
Expand Down Expand Up @@ -379,10 +382,10 @@ jobs:
- name: Uninstall Modules
run: |
make uninstall
# no token needed: public repo uses Codecov's tokenless upload via
# GitHub OIDC, which also works for pull requests coming from forks
# (base repo secrets are never exposed to fork-triggered PR runs)
- uses: codecov/codecov-action@v7
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/upload-artifact@v7
if: failure()
with:
Expand Down Expand Up @@ -525,10 +528,10 @@ jobs:
- name: Uninstall Modules
run: |
make uninstall
# no token needed: public repo uses Codecov's tokenless upload via
# GitHub OIDC, which also works for pull requests coming from forks
# (base repo secrets are never exposed to fork-triggered PR runs)
- uses: codecov/codecov-action@v7
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/upload-artifact@v7
if: failure()
with:
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/macos_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ name: macos-tests

on:
push:
branches-ignore:
- c-main
- c-3.2
branches:
- main
- v*.*.x
pull_request:
branches:
- main
- v*.*.x

permissions:
contents: read
Expand Down Expand Up @@ -62,10 +65,10 @@ jobs:
- name: Uninstall Modules
run: |
make uninstall
# no token needed: public repo uses Codecov's tokenless upload via
# GitHub OIDC, which also works for pull requests coming from forks
# (base repo secrets are never exposed to fork-triggered PR runs)
- uses: codecov/codecov-action@v7
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/upload-artifact@v7
if: failure()
with:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/windows_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ name: windows-tests

on:
push:
branches-ignore:
- c-main
- c-3.2
branches:
- main
- v*.*.x
pull_request:
branches:
- main
- v*.*.x

permissions:
contents: read
Expand Down
5 changes: 2 additions & 3 deletions doc/source/devel/ci.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ All of the above live under :file:`.github/workflows/`.
.. _ClusterFuzzLite: https://google.github.io/clusterfuzzlite/

Every build/test workflow (all except :file:`differential_shellcheck.yml`,
:file:`scorecard.yml` and :file:`cflite.yml`) triggers on ``push`` to any
branch except ``c-main`` and ``c-3.2`` (legacy imported-history branches
that are not active development targets) and on every ``pull_request``.
:file:`scorecard.yml` and :file:`cflite.yml`) triggers on ``push`` and
``pull_request``, both restricted to ``main`` and ``v*.*.x`` branches.

Build/test workflows
---------------------
Expand Down
Loading