Skip to content

Merge pull request #99 from GAISSA-UPC/pluginNewFormats #35

Merge pull request #99 from GAISSA-UPC/pluginNewFormats

Merge pull request #99 from GAISSA-UPC/pluginNewFormats #35

Workflow file for this run

name: Django CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.8, 3.9]
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 Dependencies
working-directory: ./backend
run: |
python -m pip install --upgrade pip
pip3 install -r requirements.txt
- name: Run migrations
working-directory: ./backend
run: python manage.py migrate
- name: Run Tests with coverage
working-directory: ./backend
run: |
coverage run manage.py test && coverage report --fail-under=80