Comments (6)
Well, I just discovered the PROJECT_APPS
setting. Perhaps this could be documented? :)
from django-jenkins.
PROJECT_APPS is documented right here https://github.com/kmmbvnr/django-jenkins/blob/master/README.md ;) Altough I've missed django-hudson's EXCLUDED_TESTS which I've added in my fork https://github.com/starenka/django-jenkins I think blacklisting is more easy, because it doesn't force you to edit setting whenever you make another app.
from django-jenkins.
edit setting whenever you make another app.
You have to include new app to settings anyway.
INSTALLED_APPS += PROJECT_APPS works good enough.
from django-jenkins.
Nice tip, thanks. Yet still this cannot help me if I want to exclude f.e. Django tests, tho (which was the impulse to add EXCLUDED_TESTS for me)
from django-jenkins.
You don't get it.
PROJECT_APPS is the white list, INSTALLED_APPS is the black list,
INSTALLED_APPS += PROJECT_APPS makes django happy.
No duplicate apps names anywhere.
from django-jenkins.
Oh I see now. Silly me. Still I prefer having EXCLUDED_TESTS in my settings/test.py and leave settings/base.py as close to the standard Django settings as possible (which means not adding INSTALLED_APPS += PROJECT_APPS and such)
from django-jenkins.
Related Issues (20)
- Move tutorial to something like ReadTheDocs so anyone can contribute HOT 6
- Add documentation for pipeline Jenkinsfile syntax support HOT 7
- Simplify use of cloc instead of sloccount. HOT 1
- Coverage only runs if --enable-coverage is present in command line HOT 1
- django-jenkins does not work with django 1.11 HOT 1
- How to setup the test database on Django 1.8 HOT 1
- How to run jenkins task without running test? HOT 3
- pip installing fails with python2.7 HOT 2
- COVERAGE_EXCLUDES_FOLDERS does not exclude tests from coverage.xml output HOT 2
- /
- Crash when running pylint with pylint version >= 2.0 HOT 5
- pep8 is now pycodestyle
- Coverage seems broken when using parallel testing
- No info in reports file about exceptions raised in tests
- --keepdb is not working
- Coverage v5.0 breaks django-jenkins HOT 2
- Django-Jenkins: library ISSUE --- TypeError: init() got an unexpected keyword argument 'exit'
- Getting error when passing --enable-coverage flag
- AttributeError: 'Coverage' object has no attribute 'source' HOT 1
- cannot import name 'smart_text' from 'django.utils.encoding' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-jenkins.