Skip to content

Commit cdba538

Browse files
committed
adds github tests
1 parent 576629e commit cdba538

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/test-unit.yml

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

0 commit comments

Comments
 (0)