Skip to content
Open
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
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ name: Main
on:
workflow_dispatch:
pull_request:
push:
# It is just for developer convenience so pushes to forks triggers the same
# workflow as for pull requests. For branches that match the following
# ignore patterns, the workflow has to be triggered manually.
branches-ignore:
- master
- stable-*

jobs:
src_checkers:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,11 @@ jobs:
- name: Run the build
env:
TEST_BUILD: ${{ matrix.TEST_BUILD }}
COVERAGE: ${{ matrix.COVERAGE }}
# Pushes to branches on developer forks (please see the caller workflow)
# won't measure coverage. Coverage is meant to be measured only for
# pull requests.
# Note: Pull requests to forks will measure coverage as well.
# Note: github.event_name for a workflow which has been called by
# another workflow contains the triggering event of the caller workflow.
COVERAGE: ${{ github.event_name == 'pull_request' && matrix.COVERAGE || 0 }}
run: cd $WORKDIR && ./build-CI.sh