Skip to content

Commit bb18d0f

Browse files
committed
DEBUG variables
1 parent fa55880 commit bb18d0f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/test-contexts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5555
BEHAT_CONTEXTS_SOURCE_PATH: /var/www/html
5656
BEHAT_CONTEXTS_BRANCH: ${GITHUB_REF_NAME}
57+
DEBUG_GITHUB_REF: ${GITHUB_REF}
5758

5859
- name: Upload test artifacts on failure
5960
if: failure()

tests/contexts/setup_suite.bash

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,13 @@ install_behat_contexts_from_source() {
6363
# Add path repository to composer.json
6464
ddev composer config repositories.behat-contexts path "./$(basename "${BEHAT_CONTEXTS_SOURCE_PATH}")"
6565

66+
67+
echo "# GitHub REF: ${GITHUB_REF}"
68+
echo "# GitHub REF NAME: ${GITHUB_REF_NAME}"
69+
echo "# DEBUG_GITHUB_REF: ${DEBUG_GITHUB_REF}..."
70+
6671
# Require the library. Use alias to force specific branch.
67-
ddev composer require "metadrop/behat-contexts:dev-${BEHAT_CONTEXTS_BRANCH} as 1.0.0"
72+
ddev composer require "metadrop/behat-contexts:dev-${BEHAT_CONTEXTS_BRANCH} as 1.99"
6873
}
6974

7075
#

0 commit comments

Comments
 (0)