Skip to content

Commit 6652078

Browse files
authored
Create main.yml
1 parent 014f868 commit 6652078

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.github/workflows/main.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Ruby
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-18.04
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [ubuntu, macos]
16+
ruby: [2.5, 2.6, 2.7, head, debug, truffleruby, truffleruby-head]
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Set up Ruby
20+
uses: ruby/setup-ruby@v1
21+
with:
22+
ruby-version: ${{ matrix.ruby }}
23+
bundler-cache: true
24+
- name: Install dependencies
25+
run: bundle install
26+
- name: Run tests
27+
run: bundle exec rake
28+
test-jruby:
29+
runs-on: ubuntu-18.04
30+
strategy:
31+
fail-fast: false
32+
matrix:
33+
os: [ubuntu, macos]
34+
jruby: [jruby, jruby-head]
35+
steps:
36+
- uses: actions/checkout@v2
37+
- name: Set up Ruby
38+
uses: ruby/setup-ruby@v1
39+
with:
40+
ruby-version: ${{ matrix.jruby }}
41+
bundler-cache: true
42+
- name: Install dependencies
43+
env:
44+
JRUBY_OPTS: --debug
45+
run: bundle install
46+
- name: Run tests
47+
env:
48+
JRUBY_OPTS: --debug
49+
run: bundle exec rake

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy