Add github actions test

This commit is contained in:
Alexander Meindl
2020-03-25 20:02:59 +01:00
parent 15dc372bb2
commit ba82f825bf
2 changed files with 33 additions and 4 deletions

View File

@@ -1,10 +1,10 @@
name: Run RuboCop
on: [push]
on:
push:
pull_request:
jobs:
build:
test:
runs-on: ubuntu-latest
steps:

29
.github/workflows/tests.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Run Tests
on:
push:
pull_request:
schedule:
- cron: '0 5 * * *'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
redmine:
- v4.0
- v4.1
- trunk
ruby:
- v2.4
- v2.5
- v2.6
steps:
- name: Redmine plugin test
uses: two-pack/redmine-plugin-test-action@v2
with:
plugin_name: redmine_messenger
redmine_version: ${{ matrix.redmine }}
ruby_version: ${{ matrix.ruby }}