Compare commits
No commits in common. "aff383b99b2307ce208fc88df98333233b446c7c" and "bf147854045f498414a00282442ab5003b387712" have entirely different histories.
aff383b99b
...
bf14785404
16
.drone.yml
16
.drone.yml
@ -1,16 +0,0 @@
|
|||||||
kind: pipeline
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: specs
|
|
||||||
image: ruby
|
|
||||||
environment:
|
|
||||||
REDIS_HOST: redis
|
|
||||||
commands:
|
|
||||||
- cp config.yml.erb.example config.yml.erb
|
|
||||||
- bundle install --jobs=3 --retry=3
|
|
||||||
- bundle exec rake test
|
|
||||||
|
|
||||||
services:
|
|
||||||
- name: redis
|
|
||||||
image: redis
|
|
33
.github/workflows/ruby.yml
vendored
Normal file
33
.github/workflows/ruby.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
name: Tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
ruby-version: ['2.7', '3.0', '3.1']
|
||||||
|
redis-version: [6, 7]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Set up Ruby
|
||||||
|
uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: ${{ matrix.ruby-version }}
|
||||||
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||||
|
- name: Start Redis
|
||||||
|
uses: supercharge/redis-github-action@1.4.0
|
||||||
|
with:
|
||||||
|
redis-version: ${{ matrix.redis-version }}
|
||||||
|
- name: Configure
|
||||||
|
run: cp config.yml.erb.example config.yml.erb
|
||||||
|
- name: Run tests
|
||||||
|
run: bundle exec rake test
|
Loading…
x
Reference in New Issue
Block a user