File tree Expand file tree Collapse file tree 5 files changed +12
-25
lines changed
BrowserStackLocal Unit Tests
BrowserStackLocalIntegrationTests Expand file tree Collapse file tree 5 files changed +12
-25
lines changed Original file line number Diff line number Diff line change 23
23
msbuild BrowserStackLocalIntegrationTests -t:restore -p:Configuration=Release
24
24
msbuild BrowserStackLocalIntegrationTests -t:build -p:Configuration=Release
25
25
- name : Setup .NET Core
26
- uses : actions/setup-dotnet@v1
26
+ uses : actions/setup-dotnet@v3
27
27
with :
28
- dotnet-version : 3.1.301
28
+ dotnet-version : 7.0.410
29
29
- name : Run Integration Tests
30
30
env :
31
31
BROWSERSTACK_USERNAME : ${{ secrets.BROWSERSTACK_USERNAME }}
Original file line number Diff line number Diff line change 23
23
msbuild BrowserStackLocalIntegrationTests -t:restore -p:Configuration=Release
24
24
msbuild BrowserStackLocalIntegrationTests -t:build -p:Configuration=Release
25
25
- name : Setup .NET Core
26
- uses : actions/setup-dotnet@v1
26
+ uses : actions/setup-dotnet@v3
27
27
with :
28
- dotnet-version : 3.1.301
28
+ dotnet-version : 7.0.410
29
29
- name : Run Integration Tests
30
30
env :
31
31
BROWSERSTACK_USERNAME : ${{ secrets.BROWSERSTACK_USERNAME }}
Original file line number Diff line number Diff line change 2
2
<PropertyGroup >
3
3
<RootNamespace >BrowserStackLocal_Unit_Tests</RootNamespace >
4
4
<AssemblyName >BrowserStackLocal Unit Tests</AssemblyName >
5
- <TargetFrameworks >net45;netcoreapp3.1 </TargetFrameworks >
5
+ <TargetFrameworks >net7.0 </TargetFrameworks >
6
6
<GenerateAssemblyInfo >false</GenerateAssemblyInfo >
7
7
<Title >BrowserStackLocal Unit Tests</Title >
8
8
<Product >BrowserStackLocal Unit Tests</Product >
18
18
<PackageReference Include =" NUnit3TestAdapter" Version =" 3.15.1" />
19
19
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.4.0" />
20
20
</ItemGroup >
21
- <ItemGroup Condition =" '$(TargetFramework)' == 'net45 ' " >
21
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net7.0 ' " >
22
22
<PackageReference Include =" System.Threading.Tasks.Extensions" Version =" 4.5.3" />
23
23
<Reference Include =" BrowserStackLocal" >
24
- <HintPath >..\BrowserStackLocal\bin\Debug\net20\BrowserStackLocal.dll</HintPath >
25
- </Reference >
26
- </ItemGroup >
27
- <ItemGroup Condition =" '$(TargetFramework)' == 'netcoreapp3.1' " >
28
- <Reference Include =" BrowserStackLocal" >
29
- <HintPath >..\BrowserStackLocal\bin\Debug\netstandard2.0\BrowserStackLocal.dll</HintPath >
24
+ <HintPath >..\BrowserStackLocal\bin\$(Configuration)\net7.0\BrowserStackLocal.dll</HintPath >
30
25
</Reference >
31
26
</ItemGroup >
32
27
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
36
31
<Target Name="AfterBuild">
37
32
</Target>
38
33
-->
39
- </Project >
34
+ </Project >
Original file line number Diff line number Diff line change 18
18
<ItemGroup >
19
19
<PackageReference Include =" Newtonsoft.Json" Version =" 13.0.2" />
20
20
</ItemGroup >
21
- <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " >
22
- <PackageReference Include =" System.IO.FileSystem.AccessControl" Version =" 4.7.0" />
23
- </ItemGroup >
24
21
<ItemGroup >
25
22
<None Include =" MIT-LICENSE.txt" Pack =" true" PackagePath =" " />
26
23
</ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net45;netcoreapp3.1 </TargetFrameworks >
4
+ <TargetFrameworks >net7.0 </TargetFrameworks >
5
5
<IsPackable >false</IsPackable >
6
6
</PropertyGroup >
7
7
12
12
<PackageReference Include =" Selenium.WebDriver" Version =" 3.141.0" />
13
13
</ItemGroup >
14
14
15
- <ItemGroup Condition =" '$(TargetFramework)' == 'net45 ' " >
15
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net7.0 ' " >
16
16
<PackageReference Include =" System.Threading.Tasks.Extensions" Version =" 4.5.3" />
17
17
<Reference Include =" BrowserStackLocal" >
18
- <HintPath >..\BrowserStackLocal\bin\$(Configuration)\net20\BrowserStackLocal.dll</HintPath >
19
- </Reference >
20
- </ItemGroup >
21
- <ItemGroup Condition =" '$(TargetFramework)' == 'netcoreapp3.1' " >
22
- <Reference Include =" BrowserStackLocal" >
23
- <HintPath >..\BrowserStackLocal\bin\$(Configuration)\netstandard2.0\BrowserStackLocal.dll</HintPath >
18
+ <HintPath >..\BrowserStackLocal\bin\$(Configuration)\net7.0\BrowserStackLocal.dll</HintPath >
24
19
</Reference >
25
20
</ItemGroup >
26
21
27
- </Project >
22
+ </Project >
You can’t perform that action at this time.
0 commit comments