feat: add Recently Viewed Projects feature with tracking and display … #112
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: Run Tests (Backend) | |
| on: [push] | |
| jobs: | |
| test-backend: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.11] | |
| env: | |
| PYTHONPATH: ${{ github.workspace }}/server | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: "pip" | |
| - name: Install server dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r server/requirements.txt | |
| # install pylint or pytest explicitly | |
| pip install pylint pytest | |
| - name: Lint with pylint | |
| working-directory: . | |
| run: | | |
| # will exit non-zero if there are lint errors | |
| pylint --rcfile=server/.pylintrc server --fail-under 5 --fail-on E | |
| - name: Run pytest | |
| working-directory: . | |
| run: | | |
| pytest server/tests --maxfail=1 --disable-warnings -q |