Skip to content

Commit 9e957b0

Browse files
authored
Merge pull request #65 from hidakatsuya/add-github-actions-workflow-for-testing
Add GitHub actions workflow for testing
2 parents bd2937e + 89adeb2 commit 9e957b0

File tree

3 files changed

+40
-138
lines changed

3 files changed

+40
-138
lines changed

.circleci/config.yml

Lines changed: 0 additions & 134 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
matrix:
13+
include:
14+
- redmine-repository: 'redmica/redmica'
15+
redmine-version: 'stable-3.0'
16+
ruby-version: '3.2'
17+
- redmine-repository: 'redmica/redmica'
18+
redmine-version: 'master'
19+
ruby-version: '3.2'
20+
- redmine-repository: 'redmine/redmine'
21+
redmine-version: 'master'
22+
ruby-version: '3.2'
23+
24+
steps:
25+
- uses: hidakatsuya/action-setup-redmine@v1
26+
with:
27+
repository: ${{ matrix.redmine-repository }}
28+
version: ${{ matrix.redmine-version }}
29+
ruby-version: ${{ matrix.ruby-version }}
30+
database: 'postgres:14'
31+
32+
- uses: actions/checkout@v4
33+
with:
34+
path: plugins/redmine_message_customize
35+
36+
- name: Set up plugin
37+
run: bundle install
38+
39+
- name: Run tests
40+
run: bin/rails redmine:plugins:test NAME=redmine_message_customize

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ $ cd /your/path/redmine
3535
$ bundle exec rake redmine:plugins:test NAME=redmine_message_customize RAILS_ENV=test
3636
```
3737

38-
## CircleCI test
39-
40-
https://circleci.com/gh/farend/redmine_message_customize
41-
4238
----
4339

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

0 commit comments

Comments
 (0)