Skip to content

Commit

Permalink
Merge pull request #65 from hidakatsuya/add-github-actions-workflow-f…
Browse files Browse the repository at this point in the history
…or-testing

Add GitHub actions workflow for testing
  • Loading branch information
ishikawa999 authored Jun 19, 2024
2 parents bd2937e + 89adeb2 commit 9e957b0
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 138 deletions.
134 changes: 0 additions & 134 deletions .circleci/config.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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.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
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ $ cd /your/path/redmine
$ bundle exec rake redmine:plugins:test NAME=redmine_message_customize RAILS_ENV=test
```

## CircleCI test

https://circleci.com/gh/farend/redmine_message_customize

----

2022/6/08 Transferred ownership of the repository from ishikawa999 to [Far End Technologies Corporation](https://github.com/farend).

0 comments on commit 9e957b0

Please sign in to comment.