-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 878 Bytes
/
capybara.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
33
34
35
36
37
name: CapybaraTest
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install cucumber-html-reporter
run: npm install cucumber-html-reporter
- name: Build and test with Rake
run: |
gem install bundler
bundle install --jobs 4 --retry 3
export SERVER=oubiti.com
export DEBUG=1
bundle exec rake parallel:first_stage
bundle exec rake utils:generate_test_report
- name: Archive test report artifact
uses: actions/upload-artifact@v1
with:
name: cucumber_report
path: cucumber_report