-
Notifications
You must be signed in to change notification settings - Fork 11
40 lines (33 loc) · 987 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Test
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- redmine-repository: 'redmica/redmica'
redmine-version: 'stable-3.0'
ruby-version: '3.3'
- redmine-repository: 'redmica/redmica'
redmine-version: 'master'
ruby-version: '3.3'
- redmine-repository: 'redmine/redmine'
redmine-version: 'master'
ruby-version: '3.3'
steps:
- uses: hidakatsuya/action-setup-redmine@v1
with:
repository: ${{ matrix.redmine-repository }}
version: ${{ matrix.redmine-version }}
ruby-version: ${{ matrix.ruby-version }}
database: 'postgres:14'
- uses: actions/checkout@v4
with:
path: plugins/redmine_message_customize
- name: Set up plugin
run: bundle install
- name: Run tests
run: bin/rails redmine:plugins:test NAME=redmine_message_customize