feat: Add include (whitelist) functionality to replace exclude (blacklist) #236
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: CI | |
| on: | |
| push: | |
| branches: [ main, develop, fix/**, feat/** ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| jobs: | |
| test-backend: | |
| name: Test Backend | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '9.0.x' | |
| - name: Restore dependencies | |
| run: dotnet restore Lingarr.slnx | |
| - name: Build | |
| run: dotnet build Lingarr.slnx --no-restore --configuration Release /p:TreatWarningsAsErrors=false | |
| - name: Test | |
| run: dotnet test Lingarr.slnx --no-build --configuration Release --verbosity normal --filter "Category!=Integration" | |
| test-migrations: | |
| name: Test Migrations | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '9.0.x' | |
| - name: Restore dependencies | |
| run: dotnet restore Lingarr.Migrations.Tests/Lingarr.Migrations.Tests.csproj | |
| - name: Build | |
| run: dotnet build Lingarr.Migrations.Tests/Lingarr.Migrations.Tests.csproj --no-restore --configuration Release /p:TreatWarningsAsErrors=false | |
| - name: Test Migrations (all providers) | |
| run: dotnet test Lingarr.Migrations.Tests/Lingarr.Migrations.Tests.csproj --no-build --configuration Release --verbosity normal | |
| test-frontend: | |
| name: Test Frontend | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| cache: 'npm' | |
| cache-dependency-path: Lingarr.Client/package-lock.json | |
| - name: Install dependencies | |
| working-directory: ./Lingarr.Client | |
| run: npm ci | |
| - name: Build | |
| working-directory: ./Lingarr.Client | |
| run: npm run build | |
| - name: Check TypeScript | |
| working-directory: ./Lingarr.Client | |
| run: npx vue-tsc --noEmit |