Skip to content

Commit

Permalink
chore(CI): Added github workflows for daily CI (#843)
Browse files Browse the repository at this point in the history
  • Loading branch information
RitvikKapila authored Aug 2, 2024
1 parent cb2a04d commit d5d69f3
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Unit tests

on: [pull_request]
on: workflow_call

jobs:
ci-unit-tests:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/daily_ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This workflow runs every weekday at 15:00 UTC (8AM PDT)
name: Daily CI

on:
schedule:
- cron: "00 15 * * 1-5"

jobs:
daily-ci-js-helpers:
uses: ./.github/workflows/ci-unit-tests.yaml
9 changes: 9 additions & 0 deletions .github/workflows/pull.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This workflow runs for every pull request
name: PR CI

on:
pull_request:

jobs:
pr-ci-js-helpers-test:
uses: ./.github/workflows/ci-unit-tests.yaml
11 changes: 11 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This workflow runs for every push to master
name: Push CI

on:
push:
branches:
- master

jobs:
push-ci-js-helpers-test:
uses: ./.github/workflows/ci-unit-tests.yaml

0 comments on commit d5d69f3

Please sign in to comment.