diff --git a/.github/workflows/reusable-test.yml b/.github/workflows/reusable-test.yml index cfd0fe6849..4b9c75334a 100644 --- a/.github/workflows/reusable-test.yml +++ b/.github/workflows/reusable-test.yml @@ -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