From f0ed2e15a816916864c98bd79039b013d699983f Mon Sep 17 00:00:00 2001 From: Daniel Kastl Date: Fri, 7 Jun 2024 19:02:40 +0900 Subject: [PATCH] github.workspace Signed-off-by: Daniel Kastl --- .github/workflows/test-postgis.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-postgis.yml b/.github/workflows/test-postgis.yml index 963221b..15fdaae 100644 --- a/.github/workflows/test-postgis.yml +++ b/.github/workflows/test-postgis.yml @@ -51,7 +51,7 @@ jobs: uses: actions/checkout@v4 - name: List scripts directory for debugging - run: ls -l ${{ env.GITHUB_WORKSPACE }}/scripts + run: ls -l ${{ github.workspace }}/scripts - name: Checkout Redmine uses: actions/checkout@v4 @@ -66,44 +66,44 @@ jobs: path: redmine/plugins/${{ env.PLUGIN_NAME }} - name: Setup Environment - run: ${{ env.GITHUB_WORKSPACE }}/scripts/setup_environment.sh + run: ${{ github.workspace }}/scripts/setup_environment.sh - name: Prepare Plugin working-directory: redmine/plugins/${{ env.PLUGIN_NAME }} - run: ${{ env.GITHUB_WORKSPACE }}/scripts/prepare_plugin.sh + run: ${{ github.workspace }}/scripts/prepare_plugin.sh - name: Prepare Redmine source working-directory: redmine - run: ${{ env.GITHUB_WORKSPACE }}/scripts/prepare_redmine.sh + run: ${{ github.workspace }}/scripts/prepare_redmine.sh - name: Adjust Gem environment - run: ${{ env.GITHUB_WORKSPACE }}/scripts/adjust_gem_env.sh + run: ${{ github.workspace }}/scripts/adjust_gem_env.sh - name: Install Ruby dependencies working-directory: redmine - run: ${{ env.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: ${{ env.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: ${{ env.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: ${{ env.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: ${{ env.GITHUB_WORKSPACE }}/scripts/run_uninstall_test.sh + run: ${{ github.workspace }}/scripts/run_uninstall_test.sh