Skip to content

Commit 00b88f3

Browse files
authored
GitHub Action for RSpec (#12)
* Update .gitignore * Add GitHub Action for RSpec
1 parent 137272c commit 00b88f3

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/workflows/rspec.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
name: RSpec
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
branches:
10+
- master
11+
schedule:
12+
- cron: "0 21 * * 6"
13+
14+
jobs:
15+
rspec:
16+
runs-on: ubuntu-24.04
17+
timeout-minutes: 10
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
ruby: ["3.1"]
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
- run: rm -f Gemfile.lock
26+
- run: rm -f .ruby-version
27+
- name: Set up Ruby
28+
uses: ruby/setup-ruby@v1
29+
with:
30+
ruby-version: ${{ matrix.ruby }}
31+
rubygems: latest
32+
bundler: latest
33+
bundler-cache: true
34+
35+
- run: bundle exec rspec

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ tmp
1919
.yardoc
2020
_yardoc
2121
doc/
22+
.idea
23+
.rspec_status

0 commit comments

Comments
 (0)