Skip to content

Commit

Permalink
Configure CI (no. 153)
Browse files Browse the repository at this point in the history
  • Loading branch information
cafour committed Jun 11, 2021
1 parent 4596d82 commit b9c3260
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
12 changes: 9 additions & 3 deletions .azure/pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,21 @@ jobs:
- task: PublishTestResults@2
inputs:
testResultsFormat: VSTest
testResultsFiles: $(DOTVVM_ROOT)/artifacts/test/**/*.trx
testResultsFiles: $(DOTVVM_ROOT)/artifacts/test/unit-test-results.trx
buildConfiguration: $(BUILD_CONFIGURATION)
testRunTitle: Linux
testRunTitle: Linux Unit Tests
- task: PublishTestResults@2
inputs:
testResultsFormat: VSTest
testResultsFiles: $(DOTVVM_ROOT)/artifacts/test/ui-test-results.trx
buildConfiguration: $(BUILD_CONFIGURATION)
testRunTitle: Linux UI Tests
- task: PublishTestResults@2
inputs:
testResultsFormat: JUnit
testResultsFiles: $(DOTVVM_ROOT)/artifacts/test/**/*.xml
buildConfiguration: $(BUILD_CONFIGURATION)
testRunTitle: Linux-JS
testRunTitle: Linux Jest Tests

- job: testWindows
displayName: Run tests on Windows
Expand Down
4 changes: 2 additions & 2 deletions ci/linux/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ if [ $UNIT_TESTS -eq 1 ]; then
"dotnet test \"$ROOT/src/DotVVM.Framework.Tests\" \
--no-build \
--configuration $CONFIGURATION \
--logger trx \
--logger 'trx;LogFileName=unit-test-results.trx' \
--results-directory \"$TEST_RESULTS_DIR\" \
--collect \"Code Coverage\""
fi
Expand Down Expand Up @@ -280,7 +280,7 @@ if [ $UI_TESTS -eq 1 ]; then
"dotnet test \"$SAMPLES_DIR\" \
--no-build \
--configuration $CONFIGURATION \
--logger trx \
--logger 'trx;LogFileName=ui-test-results.trx' \
--results-directory \"$TEST_RESULTS_DIR\""

kill $XVFB_PID $SAMPLES_PID $SAMPLES_API_PID 2>/dev/null
Expand Down

0 comments on commit b9c3260

Please sign in to comment.