From 087fdc601e8b5130fd6556709de4c5688ce249e3 Mon Sep 17 00:00:00 2001 From: Peter Postma Date: Fri, 6 Dec 2024 13:37:22 +0100 Subject: [PATCH] Setup GitHub CI. --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..6a525b8 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: CI + +on: + - push + - pull_request + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + ruby-version: [3.0, 3.1, 3.2, 3.3, 3.4] + + steps: + - uses: actions/checkout@v2 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true + - name: Run tests + run: bundle exec rake