Skip to content

Commit

Permalink
added fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulpsq committed Dec 24, 2024
1 parent 1aef1e4 commit 3792df2
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/sanity-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,27 +53,47 @@ jobs:
dotnet-version: ${{ matrix.dotnet }}

- name: Install dependencies
run: dotnet build
shell: pwsh
run: |
dotnet nuget locals all --clear
if (Test-Path "*.nupkg") {
Remove-Item "*.nupkg" -Force
}
if (Test-Path "build.lock") {
Remove-Item "build.lock" -Force
}
Get-ChildItem -Include bin,obj -Recurse | Remove-Item -Recurse -Force
dotnet restore --force --no-cache
dotnet clean
dotnet build
- name: Run sample android tests
shell: pwsh
run: |
Start-Sleep -Seconds 5
cd android
dotnet test --filter "Category=sample-test"
- name: Run local android tests
shell: pwsh
run: |
Start-Sleep -Seconds 5
cd android
dotnet test --filter "Category=sample-local-test"
env:
BROWSERSTACK_APP: ./LocalSample.apk

- name: Run sample ios tests
shell: pwsh
run: |
Start-Sleep -Seconds 5
cd ios
dotnet test --filter "Category=sample-test"
- name: Run local ios tests
shell: pwsh
run: |
Start-Sleep -Seconds 5
cd ios
dotnet test --filter "Category=sample-local-test"
env:
Expand Down

0 comments on commit 3792df2

Please sign in to comment.