Skip to content

Commit

Permalink
Use other variable
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kastl <daniel@georepublic.de>
  • Loading branch information
dkastl committed Jun 7, 2024
1 parent f0ed2e1 commit 2263824
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test-postgis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
uses: actions/checkout@v4

- name: List scripts directory for debugging
run: ls -l ${{ github.workspace }}/scripts
run: ls -l $GITHUB_WORKSPACE/scripts

- name: Checkout Redmine
uses: actions/checkout@v4
Expand All @@ -66,44 +66,44 @@ jobs:
path: redmine/plugins/${{ env.PLUGIN_NAME }}

- name: Setup Environment
run: ${{ github.workspace }}/scripts/setup_environment.sh
run: $GITHUB_WORKSPACE/scripts/setup_environment.sh

- name: Prepare Plugin
working-directory: redmine/plugins/${{ env.PLUGIN_NAME }}
run: ${{ github.workspace }}/scripts/prepare_plugin.sh
run: $GITHUB_WORKSPACE/scripts/prepare_plugin.sh

- name: Prepare Redmine source
working-directory: redmine
run: ${{ github.workspace }}/scripts/prepare_redmine.sh
run: $GITHUB_WORKSPACE/scripts/prepare_redmine.sh

- name: Adjust Gem environment
run: ${{ github.workspace }}/scripts/adjust_gem_env.sh
run: $GITHUB_WORKSPACE/scripts/adjust_gem_env.sh

- name: Install Ruby dependencies
working-directory: redmine
run: ${{ github.workspace }}/scripts/install_ruby_dependencies.sh
run: $GITHUB_WORKSPACE/scripts/install_ruby_dependencies.sh

- name: Run Redmine rake tasks
env:
RAILS_ENV: test
working-directory: redmine
run: ${{ github.workspace }}/scripts/run_rake_tasks.sh
run: $GITHUB_WORKSPACE/scripts/run_rake_tasks.sh

- name: Zeitwerk check
env:
RAILS_ENV: test
working-directory: redmine
run: ${{ github.workspace }}/scripts/zeitwerk_check.sh
run: $GITHUB_WORKSPACE/scripts/zeitwerk_check.sh

- name: Run tests
env:
RAILS_ENV: test
GOOGLE_CHROME_OPTS_ARGS: "headless,disable-gpu,no-sandbox,disable-dev-shm-usage"
working-directory: redmine
run: ${{ github.workspace }}/scripts/run_tests.sh
run: $GITHUB_WORKSPACE/scripts/run_tests.sh

- name: Run uninstall test
env:
RAILS_ENV: test
working-directory: redmine
run: ${{ github.workspace }}/scripts/run_uninstall_test.sh
run: $GITHUB_WORKSPACE/scripts/run_uninstall_test.sh

0 comments on commit 2263824

Please sign in to comment.