From e694be54ecfe6377b533b1b79359fd7ff5aceaff Mon Sep 17 00:00:00 2001 From: Brian Borge Date: Mon, 25 Sep 2023 20:25:47 -0400 Subject: [PATCH] [#120] Fix Broken CI Pipeline by Using GH Actions --- .github/workflows/ruby.yml | 26 ++++++++++++++++++++++++++ .gitignore | 1 - 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ruby.yml diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml new file mode 100644 index 0000000..5764018 --- /dev/null +++ b/.github/workflows/ruby.yml @@ -0,0 +1,26 @@ +name: Ruby CI + +on: + pull_request: + branches: + - master + +jobs: + test: + + runs-on: ubuntu-latest + + strategy: + matrix: + ruby-version: ["2.3"] + + steps: + - uses: actions/checkout@v4 + - name: Set up Ruby ${{ matrix.ruby-version }} + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + - name: Install dependencies + run: bundle install + - name: Run tests + run: bundle exec rspec spec diff --git a/.gitignore b/.gitignore index c9f5fbe..00dfeed 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,3 @@ log/*.log # Documentation .yardoc doc/ -.github