This action is to test for Redmine plugin.
It prepares a environment for tests and runs rake command with redmine:plugins:test
.
This plugin uses redmine-test-image docker image, and Autobuilds to support Redmine and ruby versions. However, the free Docker Hub Autobuilds will end on Monday, July 26, 2021. Therefore, tests in the latest environment will not be provided in a timely.
Required The name of the plugin to test.
Required The version of Redmine to test, like v4.1. You can use matrix in your action.
Required The version of Ruby to test, like v2.6. You can use matrix in your action.
Optional The database of Redmine to test. You can choose from sqlite3 (default), postgresql, mysql, and can use matrix in your action.
Nothing.
- name: Redmine plugin test
uses: two-pack/redmine-plugin-test-action@v2
with:
plugin_name: redmine_auto_assign_group
redmine_version: v4.1
ruby_version: v2.6
database: sqlite3
- v1 used Javascript action. But it's already not updated.
- v2 uses Docker container action for performance improvement. v2's parameters is diffrent from v1, so you MUST change action.yml of your workflow if you already used v1.