Update setuptools requirement from <78.0.0,>=75.2.0 to >=75.2.0,<79.0.0 #582
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: Django Tests | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| env: | |
| FRONTROWCREW_DEBUG: False | |
| FRONTROWCREW_DB_NAME: test | |
| FRONTROWCREW_DB_USER: test | |
| FRONTROWCREW_DB_PASSWORD: test | |
| FRONTROWCREW_DB_HOST: 127.0.0.1 | |
| FRONTROWCREW_DB_PORT: 5432 | |
| services: | |
| postgres: | |
| image: postgres:17 | |
| env: | |
| POSTGRES_USER: ${{ env.FRONTROWCREW_DB_USER }} | |
| POSTGRES_PASSWORD: ${{ env.FRONTROWCREW_DB_PASSWORD }} | |
| ports: | |
| - 5432:5432 | |
| options: >- | |
| --health-cmd pg_isready | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| steps: | |
| - name: Install prerequisites | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install libexempi8 libmemcached-dev | |
| - name: Checkout Source | |
| uses: actions/checkout@v4 | |
| - name: Compile SASS to CSS | |
| uses: gha-utilities/sass-build@v0.6.0 | |
| with: | |
| source: assets/sass/main.scss | |
| destination: static/css/main.css | |
| - name: Install uv | |
| run: pipx install uv | |
| - name: Install Python Environment | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - run: uv sync | |
| - name: Check for Django Migrations | |
| run: | | |
| uv run python manage.py makemigrations --check --dry-run | |
| - name: Run Django tests | |
| run: | | |
| uv run python manage.py test --shuffle --parallel auto | |
| - name: Verify collectstatic is working | |
| run: | | |
| uv run python manage.py collectstatic -v3 --noinput |