Skip to content

Commit

Permalink
ACMS-3281: Run phpunit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshreeputra committed Nov 20, 2023
1 parent 38495a5 commit e92a1e0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/drs_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,14 @@ jobs:
coverage: xdebug
- name: Download ORCA
run: composer create-project --no-dev --ignore-platform-req=php acquia/orca ../orca "$ORCA_VERSION" -n
- name: Before Install
run: ../orca/bin/ci/before_install.sh
- name: Install
run: ../orca/bin/ci/install.sh
- name: Before script
run: ../orca/bin/ci/before_script.sh
- name: Script
run: ../orca/bin/ci/script.sh
run: ./tests/ci/script.sh
- name: After script
run: |
../orca/bin/ci/after_success.sh
Expand Down
19 changes: 19 additions & 0 deletions tests/ci/script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash

# NAME
# script.sh - Run ORCA tests.
#
# SYNOPSIS
# script.sh
#
# DESCRIPTION
# Runs static code analysis and automated tests.

cd "$(dirname "$0")"

# Reuse ORCA's own includes.
source ../../../orca/bin/travis/_includes.sh
cd /home/runner/work/drupal-recommended-settings/drupal-recommended-settings
composer install
./vendor/bin/phpunit tests
cd -

0 comments on commit e92a1e0

Please sign in to comment.