Bump the dependencies group across 1 directory with 11 updates #652
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: Run tests | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
build: | |
env: | |
ENVIRONMENT: 'test' | |
DJANGO_SETTINGS_MODULE: 'indymeet.settings.test' | |
DATABASE_URL: "postgres://djangonaut:djangonaut@localhost:5432/djangonaut-space" | |
DEBUG: False | |
SECRET_KEY: "hunter2" | |
RECAPTCHA_PUBLIC_KEY: "dummy_value" | |
RECAPTCHA_PRIVATE_KEY: "dummy_value" | |
runs-on: ubuntu-latest | |
services: | |
pg: | |
image: postgres | |
ports: | |
- 5432:5432 | |
env: | |
POSTGRES_USER: "djangonaut" | |
POSTGRES_PASSWORD: "djangonaut" | |
POSTGRES_DB: "djangonaut-space" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python version | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements/requirements-test.txt | |
- name: Run tests | |
run: pytest |