ci: Only run .exe files during test phase on Windows (#5947)

This commit is contained in:
Ayaz Salikhov
2025-10-28 14:26:25 +00:00
committed by Bronek Kozicki
parent 994b490db5
commit a8b1a01d9e

View File

@@ -74,9 +74,11 @@ jobs:
- name: Run the separate tests
if: ${{ inputs.run_tests }}
env:
EXT: ${{ runner.os == 'Windows' && '.exe' || '' }}
shell: bash
run: |
for test_file in ./doctest/*; do
for test_file in ./doctest/*${EXT}; do
echo "Executing $test_file"
chmod +x "$test_file"
if [[ "${{ runner.os }}" == "Windows" && "$test_file" == "./doctest/xrpl.test.net.exe" ]]; then