build(deps): bump django from 4.2.22 to 4.2.25 #277
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
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| - r-v** | |
| pull_request: | |
| branches: | |
| - master | |
| - main | |
| - r-v** | |
| jobs: | |
| build_and_test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the codebase | |
| uses: actions/checkout@v4 | |
| - name: Set up python environments | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.9' | |
| - name: Set up environment variables | |
| run: | | |
| echo "DB_VENDOR=sqlite" >> "$GITHUB_ENV" | |
| echo "JANEWAY_SETTINGS_MODULE=core.janeway_global_settings" >> "$GITHUB_ENV" | |
| - name: Install all dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install --src lib/ -r requirements.txt -r dev-requirements.txt | |
| - name: Check code formatting with Ruff | |
| run: | | |
| echo "Running formatting check..." | |
| ruff format --check . | |
| echo "Formatting check completed." | |
| - name: Check presence of unmigrated model changes | |
| run: | | |
| echo "Running migration checks..." | |
| python src/manage.py makemigrations --check | |
| echo "Migration checks completed." | |
| - name: Run Django unit tests | |
| run: | | |
| echo "Running unit tests" | |
| python src/manage.py test | |
| echo "Test run completed." |