diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..25d02fb --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: Automated tests +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + test: + name: test + runs-on: ubuntu-latest + strategy: + matrix: + ruby-version: ['3.1', '3.2'] + steps: + - uses: actions/checkout@v3 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true + - run: bundle exec rspec