Skip to content

Commit

Permalink
Pass absolute path to ponyc
Browse files Browse the repository at this point in the history
  • Loading branch information
shaedrich committed Jun 5, 2024
1 parent 70813ce commit a777470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci-scripts/check-code-samples.bash
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for file in *.pony; do
echo -e "#$i Test $file … ($i/$files \u2192 $percentage %)"
#docker run -v $(pwd):/src/main docker://ghcr.io/ponylang/ponyc:latest
#ponyc "./code-samples/$file"
$HOME/.local/share/ponyup/bin/ponyc "./code-samples/$file"
$HOME/.local/share/ponyup/bin/ponyc "${{ github.workspace }}/code-samples/$file"
if [ $? -eq 0 ]; then
echo -e "\e[1;32m\u2705 File fulfilled expectations\e[0m"
else
Expand Down

0 comments on commit a777470

Please sign in to comment.