From 3be989470bad77cd6067fab3166744f6e5c2008b Mon Sep 17 00:00:00 2001 From: RichieSams Date: Sun, 29 Oct 2023 22:20:03 -0400 Subject: [PATCH] feat(ci): Run once a week So CI backend changes don't sneak up on us next time we want to actually do something --- .github/workflows/ci.yaml | 10 ++++++++++ .github/workflows/commit.yaml | 10 ++++++++++ .github/workflows/test.yaml | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yaml create mode 100644 .github/workflows/commit.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..aaa3c3f --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,10 @@ +name: Continuous Testing + +on: + # Run once a week, so we CI backend updates don't sneak up on us + schedule: + - cron: "0 13 * * SUN" + +jobs: + test: + uses: ./.github/workflows/test.yaml diff --git a/.github/workflows/commit.yaml b/.github/workflows/commit.yaml new file mode 100644 index 0000000..e242987 --- /dev/null +++ b/.github/workflows/commit.yaml @@ -0,0 +1,10 @@ +name: Commit Testing + +on: + push: + branches-ignore: + - master + +jobs: + call-test: + uses: ./.github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 58dcedb..2978b8a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,7 +1,7 @@ name: Test on: - push: + workflow_call: jobs: linux: