Bump boto3 from 1.28.52 to 1.28.53 #365
Workflow file for this run
This file contains 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: | |
BETAFRONTROWCREW_DEBUG: False | |
BETAFRONTROWCREW_DB_NAME: test | |
BETAFRONTROWCREW_DB_USER: test | |
BETAFRONTROWCREW_DB_PASSWORD: test | |
BETAFRONTROWCREW_DB_HOST: 127.0.0.1 | |
BETAFRONTROWCREW_DB_PORT: 5432 | |
BETAFRONTROWCREW_CELERY_USER: test | |
BETAFRONTROWCREW_CELERY_PASSWORD: test | |
BETAFRONTROWCREW_CELERY_HOST: 127.0.0.1 | |
BETAFRONTROWCREW_CELERY_VHOST: test | |
services: | |
postgres: | |
image: postgres:latest | |
env: | |
POSTGRES_USER: ${{ env.BETAFRONTROWCREW_DB_USER }} | |
POSTGRES_PASSWORD: ${{ env.BETAFRONTROWCREW_DB_PASSWORD }} | |
ports: | |
- 5432:5432 | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
rabbitmq: | |
image: rabbitmq:latest | |
env: | |
RABBITMQ_DEFAULT_USER: ${{ env.BETAFRONTROWCREW_CELERY_USER }} | |
RABBITMQ_DEFAULT_PASSWORD: ${{ env.BETAFRONTROWCREW_CELERY_PASSWORD }} | |
RABBITMQ_DEFAULT_VHOST: ${{ env.BETAFRONTROWCREW_CELERY_VHOST }} | |
ports: | |
- 5672:5672 | |
options: >- | |
--health-cmd "rabbitmqctl node_health_check" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
steps: | |
- name: Install prerequisites | |
run: | | |
sudo apt-get update | |
sudo apt-get install libexempi8 | |
- name: Checkout Source | |
uses: actions/checkout@v3 | |
- name: Compile SASS to CSS | |
uses: gha-utilities/[email protected] | |
with: | |
source: assets/sass/main.scss | |
destination: static/css/main.css | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Install Python Environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
cache: 'poetry' | |
- run: poetry install | |
- name: Check for Django Migrations | |
run: | | |
poetry run python manage.py makemigrations --check --dry-run | |
- name: Run Django tests | |
run: | | |
poetry run python manage.py test --shuffle --parallel auto | |
- name: Verify collectstatic is working | |
run: | | |
poetry run python manage.py collectstatic -v3 --noinput |