Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.

Commit 37826d2

Browse files
committed
Add CI workflow for running tests
1 parent f811f2a commit 37826d2

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "StashRB: Test"
2+
on:
3+
pull_request:
4+
branches: [ main ]
5+
push:
6+
branches: [ main ]
7+
jobs:
8+
run-specs:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
ruby-version: [2.7, 3.0, 3.1]
13+
env:
14+
RSPEC_FULL_BACKTRACE: yes
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: ruby/setup-ruby@v1
18+
with:
19+
ruby-version: ${{ matrix.ruby-version }}
20+
bundler-cache: true
21+
- name: Run the tests
22+
run: bundle exec rake test

0 commit comments

Comments
 (0)