Skip to content

Commit

Permalink
Also run the test suite on PR (#1040)
Browse files Browse the repository at this point in the history
We have CI running when code is pushed to the riemann repository.  For
external contribution, this only happen when a PR is merged, but
detecting issues earlier is advisable.

Instead of running CI when code is pushed in any branch of the repo, run
CI when the main branch is updated, and when a PR targeting the main
branch is updated.

Signed-off-by: Romain Tartière <[email protected]>
  • Loading branch information
smortex committed Dec 7, 2023
1 parent bebc6eb commit 72ada03
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Riemann testing

on: [push]
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
Expand Down

0 comments on commit 72ada03

Please sign in to comment.