Skip to content
This repository was archived by the owner on Mar 21, 2023. It is now read-only.

Commit fb44c15

Browse files
authored
Merge pull request #26 from duffn/duffn/github-actions
Migrate to GitHub Actions
2 parents c86481b + 9803909 commit fb44c15

File tree

3 files changed

+38
-22
lines changed

3 files changed

+38
-22
lines changed

.github/workflows/test.yml

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

.travis.yml

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

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
Slack Ruby Bot Server
2-
=====================
1+
# Slack Ruby Bot Server
32

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

65
### What is this?
76

0 commit comments

Comments
 (0)