SLO YDB Topics #6793
  
    
      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: SLO YDB Topics | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| schedule: | |
| - cron: "45 * * * *" | |
| jobs: | |
| ydb-slo-topic-action: | |
| name: SLO Topic test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 8.0.x | |
| - name: Set up Docker Compose | |
| uses: hoverkraft-tech/[email protected] | |
| with: | |
| compose-file: "./slo/playground/configs/compose.yaml" | |
| - name: Prepare SLO Database | |
| run: | | |
| cd slo/src/TopicService | |
| dotnet run create "Host=localhost;Port=2135;Database=/Root/testdb" | |
| - name: Run SLO Tests | |
| run: | | |
| cd slo/src/TopicService | |
| dotnet run run "Host=localhost;Port=2135;Database=/Root/testdb" \ | |
| --write-rps 50 \ | |
| --time 600 |