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

Commit

Permalink
Merge pull request #26 from duffn/duffn/github-actions
Browse files Browse the repository at this point in the history
Migrate to GitHub Actions
  • Loading branch information
dblock authored Mar 20, 2023
2 parents c86481b + 9803909 commit fb44c15
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 22 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Tests

on:
push:
branches:
- master
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Firefox
uses: browser-actions/setup-firefox@v1
with:
firefox-version: "54.0"
- name: Download geckodriver
uses: browser-actions/setup-geckodriver@latest
with:
geckodriver-version: "0.18.0"
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "2.6.6"
bundler-cache: true
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: "5"
mongodb-db: bot-server_test
- name: Run tests
uses: GabrielBB/xvfb-action@v1
with:
run: bundle exec rake
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Slack Ruby Bot Server
=====================
# Slack Ruby Bot Server

[![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)
[![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)

### What is this?

Expand Down

0 comments on commit fb44c15

Please sign in to comment.