diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml new file mode 100644 index 0000000..9350e18 --- /dev/null +++ b/.github/workflows/rspec.yml @@ -0,0 +1,35 @@ + +name: RSpec + +on: + push: + branches: + - master + pull_request: + branches: + - master + schedule: + - cron: "0 21 * * 6" + +jobs: + rspec: + runs-on: ubuntu-24.04 + timeout-minutes: 10 + strategy: + fail-fast: false + matrix: + ruby: ["3.1"] + + steps: + - uses: actions/checkout@v4 + - run: rm -f Gemfile.lock + - run: rm -f .ruby-version + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + rubygems: latest + bundler: latest + bundler-cache: true + + - run: bundle exec rspec diff --git a/.gitignore b/.gitignore index c58007c..9ceb3f0 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,5 @@ tmp .yardoc _yardoc doc/ +.idea +.rspec_status