diff --git a/.github/workflows/sanity-workflow.yml b/.github/workflows/sanity-workflow.yml index 0b8f18b..3d34e0d 100644 --- a/.github/workflows/sanity-workflow.yml +++ b/.github/workflows/sanity-workflow.yml @@ -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: @@ -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: | diff --git a/android/android.csproj b/android/android.csproj index 4aac919..0b36b6a 100644 --- a/android/android.csproj +++ b/android/android.csproj @@ -1,7 +1,7 @@ - net6.0 + net7.0 BrowserStack enable enable @@ -18,4 +18,4 @@ - + \ No newline at end of file diff --git a/android/browserstack.yml b/android/browserstack.yml index 61e6fc7..a65e8a8 100644 --- a/android/browserstack.yml +++ b/android/browserstack.yml @@ -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 # ======================================= diff --git a/ios/browserstack.yml b/ios/browserstack.yml index 66a53a6..f5a73d9 100644 --- a/ios/browserstack.yml +++ b/ios/browserstack.yml @@ -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 # ==========================================