Skip to content

Commit

Permalink
Invoke docker unit tests script with bash to bypass permission issues
Browse files Browse the repository at this point in the history
- Modify test commands to use "bash $HOME/tooling/docker-unit-tests/docker-unit-tests.sh" instead of direct execution.
- This workaround ensures that the tests run even if direct execution of the script is blocked.
  • Loading branch information
zackkatz committed Feb 17, 2025
1 parent f94dae0 commit 82377bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
fi
- name: Run PHP 7.4 Unit Tests
run: $HOME/tooling/docker-unit-tests/docker-unit-tests.sh test_74
run: bash $HOME/tooling/docker-unit-tests/docker-unit-tests.sh test_74

run_php_80_unit_tests:
runs-on: ubuntu-latest
Expand All @@ -124,7 +124,7 @@ jobs:
fi
- name: Run PHP 8.0 Unit Tests
run: $HOME/tooling/docker-unit-tests/docker-unit-tests.sh test_80
run: bash $HOME/tooling/docker-unit-tests/docker-unit-tests.sh test_80

# Uncomment if you want to run acceptance tests
# run_acceptance_tests:
Expand All @@ -149,6 +149,7 @@ jobs:
# with:
# name: acceptance-test-results
# path: tests/acceptance/_output

build_package_release:
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit 82377bf

Please sign in to comment.