Skip to content

Commit 7ed9afb

Browse files
authored
GitHub: Add workflow jobs for testing SecureFolderFS (#121)
1 parent e40248a commit 7ed9afb

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,3 +435,53 @@ jobs:
435435
# with:
436436
# name: ''
437437
# path: ''
438+
439+
# Builds and tests SecureFolderFS.
440+
test:
441+
needs: [sdk, ui]
442+
runs-on: windows-2025-vs2026
443+
strategy:
444+
fail-fast: false
445+
matrix:
446+
configuration: [Release, Debug]
447+
targetFramework: [net10.0]
448+
env:
449+
CONFIGURATION: ${{ matrix.configuration }}
450+
THIS_PROJECT_PATH: ${{ github.workspace }}\tests\SecureFolderFS.Tests
451+
THIS_TFM: ${{ matrix.targetFramework }}
452+
453+
steps:
454+
- name: Checkout the repository
455+
uses: actions/checkout@v6
456+
with:
457+
submodules: recursive
458+
459+
- name: Install Dependencies
460+
uses: "./.github/install_dependencies"
461+
with:
462+
dotnet-version: ${{ env.DOTNET_SDK }}
463+
run-uno-check: false
464+
465+
- name: Restore
466+
run: |
467+
msbuild $env:SOLUTION_PATH `
468+
-maxcpucount `
469+
-t:Restore `
470+
-p:Configuration=$env:CONFIGURATION
471+
472+
- name: Build
473+
run: |
474+
msbuild $env:THIS_PROJECT_PATH `
475+
-maxcpucount `
476+
-t:Build `
477+
-p:Configuration=$env:CONFIGURATION `
478+
-p:TargetFramework=$env:THIS_TFM
479+
480+
- name: Test
481+
run: dotnet test $env:THIS_PROJECT_PATH -c $env:CONFIGURATION --no-build
482+
483+
# - name: Upload artifact
484+
# uses: actions/upload-artifact@v7
485+
# with:
486+
# name: ''
487+
# path: ''

0 commit comments

Comments
 (0)