-
-
Notifications
You must be signed in to change notification settings - Fork 6
32 lines (30 loc) · 835 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Firefox
uses: browser-actions/setup-firefox@latest
with:
firefox-version: "108.0"
- name: Download geckodriver
uses: browser-actions/setup-geckodriver@latest
with:
geckodriver-version: "0.32.0"
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "2.7.7"
bundler-cache: true
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.7.0
with:
mongodb-version: "7"
mongodb-db: slack_strava_test
- name: Run tests
uses: GabrielBB/xvfb-action@v1
with:
run: bundle exec rake spec