mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-08-17 21:28:03 +08:00
add tests for the django test suite
This commit is contained in:
+13
-13
@@ -7,21 +7,21 @@ sudo: required
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- name: "Run plugin test suite with python 3.7"
|
||||
python: 3.7
|
||||
script: |
|
||||
set -e
|
||||
pytest
|
||||
- name: "Typecheck Django test suite"
|
||||
python: 3.7
|
||||
script: |
|
||||
xonsh ./scripts/typecheck_django_tests.xsh
|
||||
|
||||
- name: "Lint with black"
|
||||
python: 3.7
|
||||
script: |
|
||||
black --check --line-length=120 django-stubs/
|
||||
- name: "Run plugin test suite with python 3.7"
|
||||
python: 3.7
|
||||
script: |
|
||||
set -e
|
||||
pytest
|
||||
|
||||
# - name: "Typecheck Django test suite"
|
||||
# python: 3.7
|
||||
# script: |
|
||||
# xonsh ./scripts/typecheck_django_tests.xsh
|
||||
- name: "Lint with black"
|
||||
python: 3.7
|
||||
script: |
|
||||
black --check --line-length=120 django-stubs/
|
||||
|
||||
before_install: |
|
||||
# Upgrade pip, setuptools, and wheel
|
||||
|
||||
Reference in New Issue
Block a user