1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Move CI to GitHub Actions, fixes #4677

This commit is contained in:
Mike Perham 2020-08-28 13:32:13 -07:00
parent af193181d2
commit 7656f7fb28
3 changed files with 2 additions and 72 deletions

View file

@ -1,71 +0,0 @@
version: 2
references:
unit: &unit
run:
name: Run test suite
command: bundle exec rake COVERAGE=1
restore: &restore
restore_cache:
keys:
- v1-dependencies-{{ checksum "Gemfile.lock" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
bundle: &bundle
run:
name: install dependencies
command: |
bundle install --jobs=4 --retry=3 --path vendor/bundle
save: &save
save_cache:
paths:
- ./vendor/bundle
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
jobs:
"ruby-2.5":
docker:
- image: circleci/ruby:2.5
- image: circleci/redis:4.0
steps:
- checkout
- <<: *restore
- <<: *bundle
- <<: *save
- <<: *unit
"ruby-2.6":
docker:
- image: circleci/ruby:2.6
- image: circleci/redis:5.0
steps:
- checkout
- <<: *restore
- <<: *bundle
- <<: *save
- <<: *unit
"ruby-2.7":
docker:
- image: circleci/ruby:2.7
- image: circleci/redis:6.0
steps:
- checkout
- <<: *restore
- <<: *bundle
- <<: *save
- <<: *unit
"jruby":
docker:
- image: circleci/jruby:latest
- image: circleci/redis:4.0
steps:
- checkout
- <<: *restore
- <<: *bundle
- <<: *save
- <<: *unit
workflows:
version: 2
build:
jobs:
- "ruby-2.5"
- "ruby-2.6"
- "ruby-2.7"

View file

@ -8,6 +8,7 @@ HEAD
- Improve contrast in dark mode Web UI [#4674]
- Fix Web UI crash with corrupt session [#4672]
- Allow middleware to yield arguments [#4673, @eugeneius]
- Migrate CI from CircleCI to GitHub Actions [#4677]
6.1.1
---------

View file

@ -3,7 +3,7 @@ Sidekiq
[![Gem Version](https://badge.fury.io/rb/sidekiq.svg)](https://rubygems.org/gems/sidekiq)
[![Codecov](https://codecov.io/gh/mperham/sidekiq/branch/master/graph/badge.svg)](https://codecov.io/gh/mperham/sidekiq)
[![Build Status](https://circleci.com/gh/mperham/sidekiq/tree/master.svg?style=svg)](https://circleci.com/gh/mperham/sidekiq/tree/master)
![Build](https://github.com/mperham/sidekiq/workflows/CI/badge.svg)
Simple, efficient background processing for Ruby.