50
50
- name : Checkout repository
51
51
uses : actions/checkout@v4
52
52
53
- - name : List repository files for debugging
54
- run : ls -R
55
- shell : bash
56
-
57
53
- name : Set script permissions
58
- run : chmod +x . /scripts/*.sh
54
+ run : chmod +x /scripts/*.sh
59
55
shell : bash
60
56
61
57
- name : List scripts directory for debugging
@@ -75,53 +71,53 @@ jobs:
75
71
path : redmine/plugins/${{ env.PLUGIN_NAME }}
76
72
77
73
- name : Setup Environment
78
- run : . /scripts/setup_environment.sh
74
+ run : /scripts/setup_environment.sh
79
75
shell : bash
80
76
81
77
- name : Prepare Plugin
82
78
working-directory : redmine/plugins/${{ env.PLUGIN_NAME }}
83
- run : . /scripts/prepare_plugin.sh
79
+ run : /scripts/prepare_plugin.sh
84
80
shell : bash
85
81
86
82
- name : Prepare Redmine source
87
83
working-directory : redmine
88
- run : . /scripts/prepare_redmine.sh
84
+ run : /scripts/prepare_redmine.sh
89
85
shell : bash
90
86
91
87
- name : Adjust Gem environment
92
- run : . /scripts/adjust_gem_env.sh
88
+ run : /scripts/adjust_gem_env.sh
93
89
shell : bash
94
90
95
91
- name : Install Ruby dependencies
96
92
working-directory : redmine
97
- run : . /scripts/install_ruby_dependencies.sh
93
+ run : /scripts/install_ruby_dependencies.sh
98
94
shell : bash
99
95
100
96
- name : Run Redmine rake tasks
101
97
env :
102
98
RAILS_ENV : test
103
99
working-directory : redmine
104
- run : . /scripts/run_rake_tasks.sh
100
+ run : /scripts/run_rake_tasks.sh
105
101
shell : bash
106
102
107
103
- name : Zeitwerk check
108
104
env :
109
105
RAILS_ENV : test
110
106
working-directory : redmine
111
- run : . /scripts/zeitwerk_check.sh
107
+ run : /scripts/zeitwerk_check.sh
112
108
shell : bash
113
109
114
110
- name : Run tests
115
111
env :
116
112
RAILS_ENV : test
117
113
GOOGLE_CHROME_OPTS_ARGS : " headless,disable-gpu,no-sandbox,disable-dev-shm-usage"
118
114
working-directory : redmine
119
- run : . /scripts/run_tests.sh
115
+ run : /scripts/run_tests.sh
120
116
shell : bash
121
117
122
118
- name : Run uninstall test
123
119
env :
124
120
RAILS_ENV : test
125
121
working-directory : redmine
126
- run : . /scripts/run_uninstall_test.sh
122
+ run : /scripts/run_uninstall_test.sh
127
123
shell : bash
0 commit comments