Skip to content

Commit a4e025c

Browse files
committed
Adds more context
Signed-off-by: Daniel Kastl <[email protected]>
1 parent 4558513 commit a4e025c

File tree

1 file changed

+30
-3
lines changed

1 file changed

+30
-3
lines changed

.github/workflows/test-postgis.yml

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,19 @@ env:
55

66
on:
77
push:
8-
branches: [main, next]
8+
branches:
9+
- main
10+
- next
911
pull_request:
10-
branches: [main, next]
12+
branches:
13+
- main
14+
- next
1115
workflow_dispatch:
1216

1317
jobs:
1418
test:
1519
name: redmine:${{ matrix.redmine_version }} ruby:${{ matrix.ruby_version }} postgis:${{ matrix.db_version }}
1620
runs-on: ubuntu-22.04
17-
1821
container:
1922
image: ruby:${{ matrix.ruby_version }}-bullseye
2023

@@ -44,6 +47,21 @@ jobs:
4447
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
4548

4649
steps:
50+
- name: Checkout repository
51+
uses: actions/checkout@v4
52+
53+
- name: List repository files for debugging
54+
run: ls -R
55+
shell: bash
56+
57+
- name: Set script permissions
58+
run: chmod +x ./scripts/*.sh
59+
shell: bash
60+
61+
- name: List scripts directory for debugging
62+
run: ls -l ./scripts
63+
shell: bash
64+
4765
- name: Checkout Redmine
4866
uses: actions/checkout@v4
4967
with:
@@ -58,43 +76,52 @@ jobs:
5876

5977
- name: Setup Environment
6078
run: ./scripts/setup_environment.sh
79+
shell: bash
6180

6281
- name: Prepare Plugin
6382
working-directory: redmine/plugins/${{ env.PLUGIN_NAME }}
6483
run: ./scripts/prepare_plugin.sh
84+
shell: bash
6585

6686
- name: Prepare Redmine source
6787
working-directory: redmine
6888
run: ./scripts/prepare_redmine.sh
89+
shell: bash
6990

7091
- name: Adjust Gem environment
7192
run: ./scripts/adjust_gem_env.sh
93+
shell: bash
7294

7395
- name: Install Ruby dependencies
7496
working-directory: redmine
7597
run: ./scripts/install_ruby_dependencies.sh
98+
shell: bash
7699

77100
- name: Run Redmine rake tasks
78101
env:
79102
RAILS_ENV: test
80103
working-directory: redmine
81104
run: ./scripts/run_rake_tasks.sh
105+
shell: bash
82106

83107
- name: Zeitwerk check
84108
env:
85109
RAILS_ENV: test
86110
working-directory: redmine
87111
run: ./scripts/zeitwerk_check.sh
112+
shell: bash
88113

89114
- name: Run tests
90115
env:
91116
RAILS_ENV: test
92117
GOOGLE_CHROME_OPTS_ARGS: "headless,disable-gpu,no-sandbox,disable-dev-shm-usage"
93118
working-directory: redmine
94119
run: ./scripts/run_tests.sh
120+
shell: bash
95121

96122
- name: Run uninstall test
97123
env:
98124
RAILS_ENV: test
99125
working-directory: redmine
100126
run: ./scripts/run_uninstall_test.sh
127+
shell: bash

0 commit comments

Comments
 (0)