Skip to content
Permalink
Browse files

Run only once per test

[changelog skip]
  • Loading branch information
earlbread authored and dahlia committed Mar 4, 2020
1 parent 2082d48 commit f05977d4f5daa73df61d8f6b9418ea9e0abb1d68
Showing with 8 additions and 4 deletions.
  1. +8 −4 .azure-pipelines/windows-net471.yml
@@ -38,10 +38,14 @@ steps:
inputs:
targetType: inline
script: |
${{ parameters.testPrefix }} \
xunit.runner.console.*/tools/net471/xunit.console.exe \
*.Tests/bin/$(configuration)/net*/*.Tests.dll \
${{ parameters.testArguments }}
# Because Libplanet.RocksDBStore.Tests has Libplanet.Tests as a dependency,
# Libplanet.Tests is executed twice without this.
for f in *.Tests; do
${{ parameters.testPrefix }} \
xunit.runner.console.*/tools/net471/xunit.console.exe \
$(pwd)/"$f"/bin/${{ parameters.configuration }}/net*/"$f".dll \
${{ parameters.testArguments }}
done
env:
TURN_SERVER_URL: ${{ parameters.turnServerUrl }}
MONO_THREADS_SUSPEND: preemptive

0 comments on commit f05977d

Please sign in to comment.
You can’t perform that action at this time.