Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Try another way to specify the config file for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Jan 5, 2022
1 parent 44aa4b3 commit 4dd560e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,8 @@ jobs:
export HHVM_CONFIG_FILE=$(mktemp)
for A in false true; do
for B in false true; do
cat > $HHVM_CONFIG_FILE << EOF
hhvm.hack.lang.enable_xhp_class_modifier=$A \
hhvm.hack.lang.disable_xhp_element_mangling=$B \
EOF
echo hhvm.hack.lang.enable_xhp_class_modifier=$A > $HHVM_CONFIG_FILE
echo hhvm.hack.lang.disable_xhp_element_mangling=$B >> $HHVM_CONFIG_FILE
vendor/bin/hacktest tests/ScannerTest.hack
done
done

0 comments on commit 4dd560e

Please sign in to comment.