feat: add quickstart example (#26) #25
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"] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - dotnet: "8.0.x" | |
| framework: "net8.0" | |
| - dotnet: "9.0.x" | |
| framework: "net9.0" | |
| - dotnet: "10.0.x" | |
| framework: "net10.0" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: ${{ matrix.dotnet }} | |
| - name: Restore | |
| run: dotnet restore build.slnf | |
| - name: Build | |
| run: dotnet build build.slnf --configuration Release --framework ${{ matrix.framework }} --no-restore | |
| - name: Test unit | |
| run: | | |
| dotnet test --project tests/EFCore.ParadeDB.PgSearch.IntegrationTests \ | |
| --no-build \ | |
| --configuration Release \ | |
| --framework ${{ matrix.framework }} | |
| - name: Test integration | |
| run: | | |
| dotnet test --project tests/EFCore.ParadeDB.PgSearch.IntegrationTests \ | |
| --no-build \ | |
| --configuration Release \ | |
| --framework ${{ matrix.framework }} |