From 42700e5d0a729a00a03e7c5b9e0db10700013763 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 29 Feb 2024 14:39:22 +1100 Subject: [PATCH] Add GH workflow for tests --- .github/workflows/test.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..efff630 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,20 @@ +name: Automated tests +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + test: + name: test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.1' + bundler-cache: true + - run: bundle exec rspec