diff --git a/.github/workflows/ci-unit-tests.yaml b/.github/workflows/ci-unit-tests.yaml index dc28dc21..8f0d7581 100644 --- a/.github/workflows/ci-unit-tests.yaml +++ b/.github/workflows/ci-unit-tests.yaml @@ -1,6 +1,6 @@ name: Unit tests -on: [pull_request] +on: workflow_call jobs: ci-unit-tests: diff --git a/.github/workflows/daily_ci.yaml b/.github/workflows/daily_ci.yaml new file mode 100644 index 00000000..c52f16de --- /dev/null +++ b/.github/workflows/daily_ci.yaml @@ -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 \ No newline at end of file diff --git a/.github/workflows/pull.yaml b/.github/workflows/pull.yaml new file mode 100644 index 00000000..266509cb --- /dev/null +++ b/.github/workflows/pull.yaml @@ -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 \ No newline at end of file diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml new file mode 100644 index 00000000..ed7d8b55 --- /dev/null +++ b/.github/workflows/push.yaml @@ -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 \ No newline at end of file