Fix tests

This commit is contained in:
Kristofers Solo 2023-04-12 10:45:21 +03:00
parent f10fe979ce
commit 623c5e22ae
3 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ on:
- push
- pull_request
jobs:
lint:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -18,7 +18,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
pip install mypy flake8
- name: Lint with mypy
run: mypy FOSSDB_web
- name: Lint with flake8

View File

@ -18,6 +18,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with tox
pip install django
- name: Test with django test
run: python manage.py test

View File

@ -1,4 +1,4 @@
# from django.contrib import admin
from django.contrib import admin
from .host.models import HostingPlatform, ProjectHostingPlatform
from .language.models import ProgrammingLanguage, ProjectProgrammingLanguage