mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2025-10-21 17:50:35 +00:00
Fix tests
This commit is contained in:
parent
f10fe979ce
commit
623c5e22ae
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -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
|
||||||
|
|||||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user