From 1c60661baaf497e12b7ae89ab6fedc876585da71 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Thu, 10 Nov 2022 09:40:33 -0500 Subject: [PATCH] ci: periodically run tests against upstream sqlite --- .github/workflows/upstream.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/upstream.yml diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml new file mode 100644 index 00000000..3a913f3d --- /dev/null +++ b/.github/workflows/upstream.yml @@ -0,0 +1,23 @@ +name: upstream +concurrency: + group: "${{github.workflow}}-${{github.ref}}" + cancel-in-progress: true +on: + workflow_dispatch: + schedule: + - cron: "0 8 * * 1,3,5" # At 08:00 on Monday, Wednesday, and Friday # https://crontab.guru/#0_8_*_*_1,3,5 + +jobs: + sqlite-head: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: | + git clone --depth=1 https://github.com/sqlite/sqlite + git -C sqlite log -n1 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.1" + bundler-cache: true + - run: bundle exec rake compile -- --with-sqlite-source-dir=${GITHUB_WORKSPACE}/sqlite + - run: bundle exec rake test