Skip to content

Commit c3ee0d9

Browse files
first attempt with unit tests
1 parent 2db495c commit c3ee0d9

300 files changed

Lines changed: 18292 additions & 80 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/unit_tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up .NET
1616
uses: actions/setup-dotnet@v1
1717
with:
18-
dotnet-version: '8.0.x'
18+
dotnet-version: '9.0.x'
1919

2020
- name: Install KVM and Android SDK (x86)
2121
run: |
@@ -35,8 +35,8 @@ jobs:
3535
3636
# Accept licenses and install required components
3737
yes | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --licenses
38-
# Install Android API level 34 and necessary system images
39-
$ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager "platform-tools" "emulator" "platforms;android-34" "system-images;android-34;google_apis;x86_64"
38+
# Install Android API level 35 and necessary system images
39+
$ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager "platform-tools" "emulator" "platforms;android-35" "system-images;android-35;google_apis;x86_64"
4040
4141
# Export paths for future steps
4242
echo "ANDROID_SDK_ROOT=$ANDROID_SDK_ROOT" >> $GITHUB_ENV
@@ -46,15 +46,15 @@ jobs:
4646
- name: Install Android Build Tools
4747
run: |
4848
echo "Installing Android Build Tools..."
49-
sdkmanager "build-tools;34.0.0" # Updated to use Android 34 build tools
49+
sdkmanager "build-tools;35.0.0" # Updated to use Android 34 build tools
5050
sdkmanager --update
5151
5252
- name: Install MAUI workloads
5353
run: |
5454
dotnet workload install maui-android
5555
5656
- name: Build Code
57-
run: dotnet build TransactionMobile.Maui/TransactionMobile.Maui.csproj --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }} --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json -f net8.0-android -c Release #--no-restore
57+
run: dotnet build TransactionProcessor.Mobile/TransactionProcessor.Mobile.csproj --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }} --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json -f net9.0-android -c Release #--no-restore
5858

5959
- name: Run unit tests
60-
run: dotnet test TransactionMobile.Maui.BusinessLogic.Tests/TransactionMobile.Maui.BusinessLogic.Tests.csproj --configuration Release
60+
run: dotnet test TransactionProcessor.Mobile.BusinessLogic.Tests/TransactionProcessor.Mobile.BusinessLogic.Tests.csproj --configuration Release

TransactionMobile.Maui.sln

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)