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