test: add app-level smoke baselines and mobile CI test jobs
Co-authored-by: Velik <hongochai10@users.noreply.github.com>
This commit is contained in:
26
.github/workflows/ci-mobile.yml
vendored
26
.github/workflows/ci-mobile.yml
vendored
@@ -39,11 +39,37 @@ jobs:
|
||||
- name: Build
|
||||
run: dotnet build ${{ matrix.project }} --configuration Release --no-restore
|
||||
|
||||
dotnet-client-app-tests:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
project:
|
||||
- apps/app-client-base-net/tests/AppClientBase.UnitTests/AppClientBase.UnitTests.csproj
|
||||
- apps/web-client-base-net/tests/WebClientBase.SmokeTests/WebClientBase.SmokeTests.csproj
|
||||
- apps/web-client-tpos-net/tests/WebClientTpos.SmokeTests/WebClientTpos.SmokeTests.csproj
|
||||
- apps/web-client-eggymon-landipage-net/tests/EggymonLandingPage.SmokeTests/EggymonLandingPage.SmokeTests.csproj
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: '10.0.x'
|
||||
|
||||
- name: Restore tests
|
||||
run: dotnet restore ${{ matrix.project }}
|
||||
|
||||
- name: Run tests
|
||||
run: dotnet test ${{ matrix.project }} --configuration Release --no-restore
|
||||
|
||||
swift-client-app:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Run Swift smoke tests
|
||||
run: swift test --package-path apps/app-client-base-swift/smoke-tests
|
||||
|
||||
- name: Build Swift iOS app
|
||||
run: |
|
||||
xcodebuild \
|
||||
|
||||
Reference in New Issue
Block a user