Skip to content

Merge pull request #65 from hidakatsuya/add-github-actions-workflow-f… #1

Merge pull request #65 from hidakatsuya/add-github-actions-workflow-f…

Merge pull request #65 from hidakatsuya/add-github-actions-workflow-f… #1

Workflow file for this run

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.2'
- redmine-repository: 'redmica/redmica'
redmine-version: 'master'
ruby-version: '3.2'
- redmine-repository: 'redmine/redmine'
redmine-version: 'master'
ruby-version: '3.2'
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