Skip to content

Optimize fetching data from DB (redirects, mappings) fix #516 #483

Optimize fetching data from DB (redirects, mappings) fix #516

Optimize fetching data from DB (redirects, mappings) fix #516 #483

Workflow file for this run

name: Django CI/CD Workflow
on:
workflow_dispatch:
push:
branches: [ master ]
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 coverage
pip install -r ./vaas/requirements/test.txt
- name: Lint with flake8
working-directory: vaas
run: |
flake8 vaas/
- name: Test with coverage
working-directory: vaas
run: |
coverage run --rcfile=.coveragerc ./manage.py test
env:
DJANGO_SETTINGS_MODULE: vaas.settings.test