-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 978 Bytes
/
rspec-tests.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
# pulled from repo
name: "RSpec"
on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
jobs:
rspec:
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ${{ matrix.gem_name }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
gem_name:
- authcat-account
- authcat-identity
- authcat-mfa
- authcat-password
ruby_version: ["2.6", "2.7"]
steps:
- name: Checkout repository
uses: actions/checkout@v2
# If running on a self-hosted runner, check it meets the requirements
# listed at https://github.com/ruby/setup-ruby#using-self-hosted-runners
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: RSpec run
run: bundle exec rspec