-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (27 loc) · 768 Bytes
/
ruby2.yml
File metadata and controls
36 lines (27 loc) · 768 Bytes
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
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.2
- name: Install dependencies
run: |
gem install colorize time ipaddr
- name: Run tests
run: bundle exec rspec
- name: Generate code coverage report
run: bundle exec rspec --format RspecJunitFormatter --out rspec_junit_results.xml && ruby ../report_generator/generate_report.rb
- name: Checkout repository
uses: actions/checkout@v2
with:
repository: suchsoak/IP_List_Ruby
- name: Ruby
run: |
ruby list_ip.ruby