v2.5.14: bump CosmoKv 3.2.0 → 3.2.1 #184
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: CI | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET 9.0 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --no-restore -c Release | |
| - name: Test | |
| # Category=Perf is excluded — those tests are microbenchmarks | |
| # (`Assert.True(concurrent < serial * 0.7)` and similar). They're | |
| # CI-noise-sensitive and belong in a separate bench harness, not | |
| # the correctness suite. Run them locally with `dotnet test` (no | |
| # filter) when investigating perf regressions. | |
| run: dotnet test --no-build -c Release --filter "Category!=Perf" --logger "trx;LogFileName=results.xml" | |
| env: | |
| MSSQL_TEST_CONNECTION: ${{ secrets.MSSQL_TEST_CONNECTION }} | |
| POSTGRES_TEST_CONNECTION: ${{ secrets.POSTGRES_TEST_CONNECTION }} | |
| MYSQL_TEST_CONNECTION: ${{ secrets.MYSQL_TEST_CONNECTION }} | |
| - name: Upload test results | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: test-results | |
| path: '**/results.xml' |