Skip to content

Commit

Permalink
github.workspace
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kastl <[email protected]>
  • Loading branch information
dkastl committed Jun 7, 2024
1 parent 0290fd2 commit f0ed2e1
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 ${{ env.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: ${{ 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

0 comments on commit f0ed2e1

Please sign in to comment.