-
-
Notifications
You must be signed in to change notification settings - Fork 41
43 lines (42 loc) · 1.27 KB
/
windows_check.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
38
39
40
41
42
43
name: Windows check
on: [pull_request]
jobs:
windows_edge_rspec:
name: RSpec on Windows / Edge
runs-on: windows-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.0
- name: Install dependencies
run: |
gem uninstall bundler
gem install bundler -v 2.3.4
bundle install
- uses: browser-actions/setup-edge@latest
- name: Check example
run: bundle exec rspec spec/integration/example_spec.rb
env:
PUPPETEER_TIMEOUT_RSPEC: 50
PUPPETEER_EXECUTABLE_PATH_RSPEC: 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'
windows_chrome_rspec:
name: RSpec on Windows / Chrome
runs-on: windows-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.0
- name: Install dependencies
run: |
gem uninstall bundler
gem install bundler -v 2.3.4
bundle install
- uses: browser-actions/setup-chrome@latest
- name: Check example
run: bundle exec rspec spec/integration/example_spec.rb
env:
PUPPETEER_TIMEOUT_RSPEC: 30