Skip to content

Commit

Permalink
Run CI on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Jan 3, 2025
1 parent 9621586 commit b8ba384
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/array-api.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
name: Array API coverage tests

on:
push: # Run on all branches
# 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:
- "*"
schedule:
- cron: "0 8 * * 0" # Runs weekly at 08:00 UTC on Sunday

Expand Down
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:
- "*"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit b8ba384

Please sign in to comment.