Skip to content

Commit

Permalink
Run the CI unit tests on external pull requests (#873)
Browse files Browse the repository at this point in the history
* Run the CI unit tests on external pull requests

* Only run CI if push is to main

---------

Co-authored-by: Jan Tilly <[email protected]>
  • Loading branch information
stanmart and jtilly authored Oct 30, 2024
1 parent e13ce58 commit d367c8c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
name: CI
on: [push]
on:
# We would like to trigger for CI for any pull request action -
# both from QuantCo's branches as well as forks.
pull_request:
# In addition to pull requests, we want to run CI for pushes
# to the main branch and tags.
push:
branches:
- "main"
tags:
- "*"

jobs:
pre-commit-checks:
Expand Down

0 comments on commit d367c8c

Please sign in to comment.