Skip to content

Commit d1cfa82

Browse files
committed
adds github tests
1 parent 6a9b361 commit d1cfa82

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/test-unit.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: unit-tests
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
unit:
8+
runs-on: ubuntu-latest
9+
timeout-minutes: 5
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v5
13+
14+
- name: Setup Ruby
15+
uses: ruby/setup-ruby@v1
16+
with:
17+
ruby-version: '3.4'
18+
bundler-cache: true
19+
20+
- name: Run unit tests
21+
env:
22+
PRECOMPILED_ASSETS: '1'
23+
TEST_SERVER_PORT: '1314'
24+
run: bundle exec rake test TEST='test/unit/**/*_test.rb'

0 commit comments

Comments
 (0)