Skip to content

Commit e080569

Browse files
authored
Replace TravisCI with GitHub Actions (#13)
1 parent 56bc13d commit e080569

File tree

3 files changed

+33
-20
lines changed

3 files changed

+33
-20
lines changed

.github/workflows/test.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v3
11+
- name: Setup Firefox
12+
uses: browser-actions/setup-firefox@latest
13+
with:
14+
firefox-version: "54.0"
15+
- name: Download geckodriver
16+
uses: browser-actions/setup-geckodriver@latest
17+
with:
18+
geckodriver-version: "0.18.0"
19+
- name: Set up Ruby
20+
uses: ruby/setup-ruby@v1
21+
with:
22+
ruby-version: "2.6.6"
23+
bundler-cache: true
24+
- name: Start MongoDB
25+
uses: supercharge/[email protected]
26+
with:
27+
mongodb-version: "5"
28+
mongodb-db: slack-ruby-bot-server-stripe_sample_test
29+
- name: Run tests
30+
uses: GabrielBB/xvfb-action@v1
31+
with:
32+
run: bundle exec rake

.travis.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Slack Ruby Bot Server Stripe Sample
22
===================================
33

4-
[![Build Status](https://travis-ci.org/slack-ruby/slack-ruby-bot-server-stripe-sample.svg?branch=master)](https://travis-ci.org/slack-ruby/slack-ruby-bot-server-stripe-sample)
4+
[![test](https://github.com/slack-ruby/slack-ruby-bot-server-stripe-example/actions/workflows/test.yml/badge.svg)](https://github.com/slack-ruby/slack-ruby-bot-server-stripe-example/actions/workflows/test.yml)
55

66
### What is this?
77

0 commit comments

Comments
 (0)