fix full refresh skipping Spotify track matching for releases with al… #6
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: SongDetailView Performance Test | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'backend/**' | |
| - '.github/workflows/perf-test.yml' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'backend/**' | |
| - '.github/workflows/perf-test.yml' | |
| jobs: | |
| perf-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| cache: 'pip' | |
| cache-dependency-path: backend/requirements.txt | |
| - name: Install system dependencies | |
| run: sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt-dev | |
| - name: Install Python dependencies | |
| working-directory: backend | |
| run: pip install -r requirements.txt | |
| - name: Run SongDetailView performance test | |
| working-directory: backend | |
| env: | |
| DB_HOST: ${{ secrets.DB_HOST }} | |
| DB_NAME: ${{ secrets.DB_NAME }} | |
| DB_USER: ${{ secrets.DB_USER }} | |
| DB_PASSWORD: ${{ secrets.DB_PASSWORD }} | |
| DB_PORT: ${{ secrets.DB_PORT }} | |
| # JWT_SECRET is required for app import but not used by perf tests | |
| JWT_SECRET: ${{ secrets.JWT_SECRET != '' && secrets.JWT_SECRET || 'perf-test-placeholder' }} | |
| run: python scripts/diagnostics/test_song_detail_perf.py |