From ac826e1be7751af700d298c30bd69ccc8a32d6c7 Mon Sep 17 00:00:00 2001 From: HugoGranstrom <5092565+HugoGranstrom@users.noreply.github.com> Date: Fri, 29 Mar 2024 10:08:55 +0100 Subject: [PATCH] add workflow that runs tests once a month --- .github/workflows/periodic_test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/periodic_test.yml diff --git a/.github/workflows/periodic_test.yml b/.github/workflows/periodic_test.yml new file mode 100644 index 0000000..4c283f1 --- /dev/null +++ b/.github/workflows/periodic_test.yml @@ -0,0 +1,22 @@ +name: periodic test + +on: + schedule: + # Run every month the 20th when the clock is 13:00 UTC + - cron: '0 13 20 * *' + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: pip install scipy numpy + - name: "install_nim" + id: install_nim + uses: iffy/install-nim@v4.1.1 + - run: nimble install -y + - name: GenBook + run: nimble genbook \ No newline at end of file