Skip to content

Commit 0290fd2

Browse files
committed
GITHUB_WORKSPACE
Signed-off-by: Daniel Kastl <[email protected]>
1 parent 00054b2 commit 0290fd2

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

.github/workflows/test-postgis.yml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,8 @@ jobs:
5050
- name: Checkout repository
5151
uses: actions/checkout@v4
5252

53-
- name: Show current directory
54-
run: pwd
55-
56-
- name: Set script permissions
57-
run: chmod +x /scripts/*.sh
58-
5953
- name: List scripts directory for debugging
60-
run: ls -l ./scripts
54+
run: ls -l ${{ env.GITHUB_WORKSPACE }}/scripts
6155

6256
- name: Checkout Redmine
6357
uses: actions/checkout@v4
@@ -72,44 +66,44 @@ jobs:
7266
path: redmine/plugins/${{ env.PLUGIN_NAME }}
7367

7468
- name: Setup Environment
75-
run: /scripts/setup_environment.sh
69+
run: ${{ env.GITHUB_WORKSPACE }}/scripts/setup_environment.sh
7670

7771
- name: Prepare Plugin
7872
working-directory: redmine/plugins/${{ env.PLUGIN_NAME }}
79-
run: /scripts/prepare_plugin.sh
73+
run: ${{ env.GITHUB_WORKSPACE }}/scripts/prepare_plugin.sh
8074

8175
- name: Prepare Redmine source
8276
working-directory: redmine
83-
run: /scripts/prepare_redmine.sh
77+
run: ${{ env.GITHUB_WORKSPACE }}/scripts/prepare_redmine.sh
8478

8579
- name: Adjust Gem environment
86-
run: /scripts/adjust_gem_env.sh
80+
run: ${{ env.GITHUB_WORKSPACE }}/scripts/adjust_gem_env.sh
8781

8882
- name: Install Ruby dependencies
8983
working-directory: redmine
90-
run: /scripts/install_ruby_dependencies.sh
84+
run: ${{ env.GITHUB_WORKSPACE }}/scripts/install_ruby_dependencies.sh
9185

9286
- name: Run Redmine rake tasks
9387
env:
9488
RAILS_ENV: test
9589
working-directory: redmine
96-
run: /scripts/run_rake_tasks.sh
90+
run: ${{ env.GITHUB_WORKSPACE }}/scripts/run_rake_tasks.sh
9791

9892
- name: Zeitwerk check
9993
env:
10094
RAILS_ENV: test
10195
working-directory: redmine
102-
run: /scripts/zeitwerk_check.sh
96+
run: ${{ env.GITHUB_WORKSPACE }}/scripts/zeitwerk_check.sh
10397

10498
- name: Run tests
10599
env:
106100
RAILS_ENV: test
107101
GOOGLE_CHROME_OPTS_ARGS: "headless,disable-gpu,no-sandbox,disable-dev-shm-usage"
108102
working-directory: redmine
109-
run: /scripts/run_tests.sh
103+
run: ${{ env.GITHUB_WORKSPACE }}/scripts/run_tests.sh
110104

111105
- name: Run uninstall test
112106
env:
113107
RAILS_ENV: test
114108
working-directory: redmine
115-
run: /scripts/run_uninstall_test.sh
109+
run: ${{ env.GITHUB_WORKSPACE }}/scripts/run_uninstall_test.sh

0 commit comments

Comments
 (0)