We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72e7cb9 commit c0b16e7Copy full SHA for c0b16e7
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,43 @@
1
+name: split-analytics
2
+
3
+on: [push]
4
5
+jobs:
6
+ test:
7
+ strategy:
8
+ matrix:
9
+ os: [ubuntu-latest]
10
+ ruby:
11
+ - 2.5
12
+ - 2.6
13
+ - 2.7
14
+ - '3.0'
15
+ # - 3.1
16
17
+ services:
18
+ redis:
19
+ image: redis
20
+ ports: ['6379:6379']
21
+ options: >-
22
+ --health-cmd "redis-cli ping"
23
+ --health-interval 10s
24
+ --health-timeout 5s
25
+ --health-retries 5
26
27
+ runs-on: ${{ matrix.os }}
28
29
+ steps:
30
+ - uses: actions/checkout@v2
31
32
+ - uses: ruby/setup-ruby@v1
33
+ with:
34
+ ruby-version: ${{ matrix.ruby }}
35
36
+ - name: Install dependencies
37
+ run: bundle install
38
39
+ - name: Display Ruby version
40
+ run: ruby -v
41
42
+ - name: Test
43
+ run: bundle exec rspec --backtrace
0 commit comments