Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit 4ed5014

Browse files
committed
add CI
1 parent a01c82e commit 4ed5014

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

.github/workflows/ruby.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
# This workflow uses actions that are not certified by GitHub.
3+
# They are provided by a third-party and are governed by
4+
# separate terms of service, privacy policy, and support
5+
# documentation.
6+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
7+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
8+
9+
name: Ruby
10+
11+
on:
12+
push:
13+
branches: [ master ]
14+
pull_request:
15+
branches: [ master ]
16+
17+
jobs:
18+
test:
19+
20+
runs-on: ubuntu-latest
21+
strategy:
22+
matrix:
23+
ruby-version: ['2.7', '2.6', '2.5', '2.4']
24+
25+
steps:
26+
- uses: actions/checkout@v2
27+
- name: Set up Ruby
28+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
29+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
30+
uses: ruby/setup-ruby@v1
31+
with:
32+
ruby-version: ${{ matrix.ruby-version }}
33+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
34+
- name: Run tests
35+
run: bundle exec rake test
36+
- name: Run lint
37+
run: bundle exec rubocop

docs/why.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Legend:
5959

6060
| Tool | Package | Tests | Code Doc | User Doc | CI/CD | Lint rules |
6161
| ----------------------------- | ------- | ----- | -------- | -------- | ----- | ---------- |
62-
| [Pass Station][0] ||||| ||
62+
| [Pass Station][0] ||||| ||
6363
| [Passhunt][1] |||||||
6464
| [DefaultCreds-cheat-sheet][2] |||||||
6565

0 commit comments

Comments
 (0)