File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 14
14
REDMINE_VER : 5.1-stable
15
15
PLUGIN_NAME : vault
16
16
REDMINE_GIT_REPO : https://github.com/redmine/redmine.git
17
+ REDMINE_PATH : ${{ github.workspace }}/redmine
17
18
RAILS_ENV : test
18
19
19
20
steps :
@@ -35,15 +36,15 @@ jobs:
35
36
36
37
- name : Set up database
37
38
run : |
38
- cd ${{ github.workspace }}/redmine
39
- ln -s ${{ github.workspace }} ${{ github.workspace }}/redmine /plugins/$PLUGIN_NAME
40
- cp ${{ github.workspace }}/.github/workflows/database.yml ${{ github.workspace }}/redmine /config/database.yml
39
+ cd $REDMINE_PATH
40
+ ln -s ${{ github.workspace }} $REDMINE_PATH /plugins/$PLUGIN_NAME
41
+ cp ${{ github.workspace }}/.github/workflows/database.yml $REDMINE_PATH /config/database.yml
41
42
bundle install
42
43
bundle exec rake db:create db:migrate redmine:plugins:migrate
43
44
44
45
- name : Run tests
45
46
run : |
46
- cd ${{ github.workspace }}/redmine
47
+ cd $REDMINE_PATH
47
48
export SKIP_COVERAGE=1
48
49
bundle exec rake redmine:plugins:test:units NAME=$PLUGIN_NAME RUBYOPT="-W0"
49
50
bundle exec rake redmine:plugins:test:integration NAME=$PLUGIN_NAME RUBYOPT="-W0"
You can’t perform that action at this time.
0 commit comments