Update model-bakery to 1.20.0 #1050
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: Python application | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.10' | |
- name: Copying configurations | |
run: | | |
cp .env.example .env | |
- name: Install dependencies | |
run: | | |
pip install -r requirements-dev.txt | |
- name: Lint with flake8 | |
run: | | |
flake8 | |
- name: Run Tests | |
run: | | |
python manage.py test --settings=eletronica.settings.development |