From f1c94a532d9f3f1927140b55d83bcf2905fac9ce Mon Sep 17 00:00:00 2001 From: Severin Schoepke Date: Mon, 8 Apr 2024 15:38:09 +0200 Subject: [PATCH] Add CI workflow --- .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e366d4a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,33 @@ +name: CI + +on: + push: + branches: + - "v2.99.3-with-ruby3-compat" + pull_request: + branches: + - "v2.99.3-with-ruby3-compat" + +jobs: + ci: + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + ruby-version: ['2.7'] + + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true + + - name: Run tests + run: | + bundle exec rake test