Skip to content

Add authentication app for login and logout functionality; update templates #45

Add authentication app for login and logout functionality; update templates

Add authentication app for login and logout functionality; update templates #45

Workflow file for this run

name: Django CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
environment: DEV_ENV
strategy:
max-parallel: 4
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python -
- name: Set Environment Variables
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
run: echo "SECRET_KEY=${SECRET_KEY}" > ./envs/.env
- name: Install Dependencies
run: poetry install
- name: Run Tests
run: poetry run python manage.py test