deps: Bump Microsoft.Extensions.DependencyInjection from 10.0.1 to 10.0.2 #519
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Integration Tests | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - '**.cs' | |
| - '**.csproj' | |
| - '**.sln' | |
| - 'Directory.Build.props' | |
| - 'Directory.Packages.props' | |
| - 'nuget.config' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - '**.cs' | |
| - '**.csproj' | |
| - '**.sln' | |
| - 'Directory.Build.props' | |
| - 'Directory.Packages.props' | |
| - 'nuget.config' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| integration-tests: | |
| name: Integration Tests | |
| runs-on: windows-latest | |
| # Only run on PRs from the same repo (not forks) or on main branch | |
| if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository | |
| environment: test-dataverse | |
| permissions: | |
| contents: read | |
| id-token: write # Required for GitHub OIDC federated authentication | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 9.0.x | |
| 10.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --configuration Release --no-restore | |
| - name: Run Integration Tests | |
| env: | |
| # Repository variables (non-sensitive) | |
| DATAVERSE_URL: ${{ vars.DATAVERSE_URL }} | |
| PPDS_TEST_APP_ID: ${{ vars.PPDS_TEST_APP_ID }} | |
| PPDS_TEST_TENANT_ID: ${{ vars.PPDS_TEST_TENANT_ID }} | |
| # Repository secrets (sensitive) | |
| PPDS_TEST_CLIENT_SECRET: ${{ secrets.PPDS_TEST_CLIENT_SECRET }} | |
| PPDS_TEST_CERT_BASE64: ${{ secrets.PPDS_TEST_CERT_BASE64 }} | |
| PPDS_TEST_CERT_PASSWORD: ${{ secrets.PPDS_TEST_CERT_PASSWORD }} | |
| # Run integration tests, excluding: | |
| # - SecureStorage: requires OS-level secure storage (DPAPI/Keychain) unavailable in CI | |
| # - SlowIntegration: queries that take 100+ seconds (e.g., listing 60k stock Dataverse plugins) | |
| run: dotnet test --configuration Release --no-build --verbosity normal --filter "Category=Integration&Category!=SecureStorage&Category!=SlowIntegration" |