Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys committed Feb 7, 2022
1 parent b70e6d6 commit 6e65999
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OfficeIMO.Tests/Excel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public Excel() {
_directoryDocuments = Path.Combine(System.IO.Directory.GetCurrentDirectory(), "Documents");
_directoryWithImages = Path.Combine(System.IO.Directory.GetCurrentDirectory(), "Images");
//_directoryDocuments = System.IO.Path.Combine(System.IO.Path.GetTempPath(), "Tests", "TempDocuments");
_directoryWithFiles = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "TempDocuments");
_directoryWithFiles = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "TempDocuments1");
Word.Setup(_directoryWithFiles);
}
}
Expand Down
3 changes: 2 additions & 1 deletion OfficeIMO.Tests/Word.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;

namespace OfficeIMO.Tests {
public partial class Word {
Expand All @@ -24,7 +25,7 @@ public Word() {
_directoryDocuments = Path.Combine(System.IO.Directory.GetCurrentDirectory(), "Documents");
_directoryWithImages = Path.Combine(System.IO.Directory.GetCurrentDirectory(), "Images");
//_directoryDocuments = System.IO.Path.Combine(System.IO.Path.GetTempPath(), "Tests", "TempDocuments");
_directoryWithFiles = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "TempDocuments");
_directoryWithFiles = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "TempDocuments2");
Setup(_directoryWithFiles);
}
}
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ steps:
arguments: '--configuration $(buildConfiguration) --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=cobertura'
publishTestResults: true
projects: '**/*.Tests.csproj'
testRunTitle: '$(projectName) $(solution) $(buildPlatform) $(buildConfiguration)'

- task: PublishCodeCoverageResults@1
displayName: 'Publish Code Coverage Report'
Expand Down

0 comments on commit 6e65999

Please sign in to comment.