Skip to content

Usuário do Django customizado para logar com email #10

Usuário do Django customizado para logar com email

Usuário do Django customizado para logar com email #10

Workflow file for this run

name: Django Backend CI
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend # Set the global working directory
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies (using poetry)
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry install --with dev --sync
- name: Run Linter
run: poetry run flake8 .
- name: Run backend Tests
run: poetry run pytest --cache-clear