-
-
Notifications
You must be signed in to change notification settings - Fork 287
52 lines (46 loc) · 1.26 KB
/
rspec.yml
File metadata and controls
52 lines (46 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: RSpec
on: [push]
jobs:
coverage:
services:
redis:
image: redis:latest
ports:
- 6379:6379
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.5
- run: bundle install --jobs=$(nproc) --retry=$(nproc)
- name: Coverage
uses: paambaati/codeclimate-action@v2.6.0
env:
COV: true
CC_TEST_REPORTER_ID: 88e524e8f638efe690def7a6e2c72b1a9db5cdfa74548921b734d609a5858ee5
with:
coverageCommand: bin/rspec --require spec_helper --tag ~perf
debug: true
tests:
env:
COV: false
services:
redis:
image: redis:latest
ports:
- 6379:6379
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
# ruby: [2.5, 2.6, 2.7, jruby, truffleruby]
ruby: [2.5, 2.6, 2.7]
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: bundle install --jobs=$(nproc) --retry=$(nproc)
- run: bundle exec appraisal install --jobs=$(nproc) --retry=$(nproc)
- run: bundle exec appraisal rspec --require spec_helper --tag ~perf