File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 33 "isRoot" : true ,
44 "tools" : {
55 "run-script" : {
6- "version" : " 0.1.0-beta.139 " ,
6+ "version" : " 0.1.0-beta.152 " ,
77 "commands" : [
88 " r"
99 ]
Original file line number Diff line number Diff line change 5454
5555 - run : dotnet r build
5656
57- - run : dotnet r test
57+ - run : dotnet r test -- --logger "trx;LogFilePrefix=${{ matrix.os }}"
5858
5959 - run : dotnet r pack -- --version-suffix ${{ env.VERSION_SUFFIX }}
6060
@@ -140,9 +140,15 @@ jobs:
140140
141141 - run : |
142142 if [ "${{ matrix.shell }}" == "default" ]; then
143- dotnet r test --verbose -- --logger "trx;LogFilePrefix=${{ matrix.os }}-integration-tests "
143+ dotnet r test --verbose -- --logger "trx;LogFilePrefix=${{ matrix.os }}-default "
144144 else
145- dotnet r test --verbose --script-shell "${{ matrix.shell }}" -- --logger "trx;LogFilePrefix=${{ matrix.os }}-integration-tests"
145+ shellName="${{ matrix.shell }}"
146+
147+ if [[ "$shellName" == *\.exe ]]; then
148+ shellName="bash"
149+ fi
150+
151+ dotnet r test --verbose --script-shell "${{ matrix.shell }}" -- --logger "trx;LogFilePrefix=${{ matrix.os }}-$shellName"
146152 fi
147153 shell: bash
148154
You can’t perform that action at this time.
0 commit comments