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

View File

@ -18,6 +18,6 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -r requirements.txt pip install django
- name: Test with tox - name: Test with django test
run: python manage.py 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 .host.models import HostingPlatform, ProjectHostingPlatform
from .language.models import ProgrammingLanguage, ProjectProgrammingLanguage from .language.models import ProgrammingLanguage, ProjectProgrammingLanguage