Skip to content

Instalado ipython e django-extensions #38

Instalado ipython e django-extensions

Instalado ipython e django-extensions #38

Workflow file for this run

name: Site de Aulas
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
env:
PIPENV_NO_INHERIT: 1
PIPENV_IGNORE_VIRTUALENVS: 1
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15.2
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports: [ '5432:5432' ]
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -q pipenv
pipenv sync -d
cp contrib/env-sample .env
- name: Lint with flake8
run: |
pipenv run flake8 .
- name: Tests with pytest
run: |
pipenv run pytest