Skip to content

Merge pull request #295 from UpyExplorer/develop #42

Merge pull request #295 from UpyExplorer/develop

Merge pull request #295 from UpyExplorer/develop #42

name: ⚙️ Workflow
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: ⚙️ Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: ⚙️ Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt --no-cache-dir
- name: ❤️️ Run Flake8
run: |
flake8 app/ modules/ --count --show-source --statistics --ignore=E501
- name: ❤️️ Run Tests
run: |
python manage.py test --settings app.settings.unittest