Skip to content

Commit 0ecc37c

Browse files
author
Sebastian Gumprich
committed
add github action for tests, replace travis
Signed-off-by: Sebastian Gumprich <sebastian.gumprich@t-systems.com>
1 parent 86ac9d2 commit 0ecc37c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
schedule:
9+
- cron: '0 6 * * *'
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
ruby-version: ['2.6', '2.7', '3.0']
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Set up Ruby
22+
uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: ${{ matrix.ruby-version }}
25+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
26+
- name: Run tests
27+
run: bundle exec rake

0 commit comments

Comments
 (0)