-
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 843 Bytes
/
Copy pathtest.yml
File metadata and controls
41 lines (34 loc) · 843 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
37
38
39
40
41
name: Run RSpec Tests
on:
push:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.3.4', '3.4']
steps:
# Step 1: Check out the repository
- name: Check out repository code
uses: actions/checkout@v7
# Step 2: Set up Ruby
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
# Step 3: Install dependencies with verbose logging
- name: Install dependencies
run: |
gem install bundler
bundle install --verbose
# Step 4: Run tests
- name: Run tests
run: |
bundle exec rspec --backtrace