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
|
||||
- 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
|
||||
|
||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user