Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/sanity-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
max-parallel: 3
matrix:
dotnet: ['7.0.x', '6.0.x', '5.0.x']
dotnet: ['7.0.x']
os: [ windows-latest ]
name: NUnit Appium Repo ${{ matrix.dotnet }} - ${{ matrix.os }} Sample
env:
Expand Down Expand Up @@ -49,16 +49,24 @@ jobs:
}
- name: Setup dotnet
uses: actions/setup-dotnet@v3
id: dotnetsetup
with:
dotnet-version: ${{ matrix.dotnet }}

- name: Install dependencies
run: dotnet build
run: |
dotnet new globaljson --sdk-version ${{ steps.dotnetsetup.outputs.dotnet-version }}
dotnet --version
cd android
dotnet --version
dotnet build

- name: Run sample android tests
run: |
cd android
dotnet test --filter "Category=sample-test"
env:
BROWSERSTACK_APP: ./WikipediaSample.apk

- name: Run local android tests
run: |
Expand Down
4 changes: 2 additions & 2 deletions android/android.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<RootNamespace>BrowserStack</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand All @@ -18,4 +18,4 @@
<PackageReference Include="BrowserStack.TestAdapter" Version="0.*" />
</ItemGroup>

</Project>
</Project>
2 changes: 1 addition & 1 deletion android/browserstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ source: 'nunit:appium-sample-sdk:v1.0'

# Set `app` to define the app that is to be used for testing.
# It can either take the id of any uploaded app or the path of the app directly.
app: ./WikipediaSample.apk
app: ./sampleapk.apk
# app: ./LocalSample.apk #For running local tests

# =======================================
Expand Down
4 changes: 2 additions & 2 deletions ios/browserstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ platforms:
- deviceName: iPhone 13 Pro
osVersion: 15
platformName: ios
- deviceName: iPhone XS
osVersion: 14
- deviceName: iPhone 12
osVersion: 17
platformName: ios

# ==========================================
Expand Down
Loading