Skip to content

Commit

Permalink
work on ci setup
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Oct 22, 2019
1 parent 50f7ea3 commit a234cac
Show file tree
Hide file tree
Showing 20 changed files with 2,713 additions and 84 deletions.
36 changes: 36 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
root = true

[*]
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

[*.js]
indent_size = 4

[{*.json}]
indent_size = 4

[Makefile]
indent_style = tab

[*.pug]
indent_size = 2

[*.py]
indent_size = 4
max_line_length = 100

[{*.rb,Vagrantfile}]
indent_size = 2

[{*.sh,*.bat}]
indent_size = 4

[*.styl]
indent_size = 2

[*.yml]
indent_size = 2
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

15 changes: 15 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
comment: false
coverage:
status:
# We have some variation in tests due to variations in the test runs. We
# want to ignore these changes, but not let code coverage slip too much.
project:
default:
threshold: 1
# This applies to the changed code. We allow it to be much less covered
# than the main code, since we use the project threshold for that.
patch:
default:
threshold: 25
only_pulls: true

17 changes: 0 additions & 17 deletions plugin.cmake

This file was deleted.

40 changes: 0 additions & 40 deletions plugin_tests/example_test.py

This file was deleted.

23 changes: 23 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Top level dependencies
girder>=3.0.3
girder-jobs>=3.0.3
girder-worker>=0.6.0

# External dependencies
pip>=9
coverage
flake8
flake8-blind-except
flake8-bugbear; python_version >= '3.5'
flake8-docstrings
flake8-quotes
pytest>=3.6
pytest-cov>=2.6
pytest-girder>=3.0.3
pytest-xdist
mock
tox
twine
virtualenv


2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def prerelease_local_scheme(version):
install_reqs = f.readlines()

extras_require = {}
extras_require['girder'] = ['girder>=3.0.0a1', 'girder-jobs>=3.0.0a1']
extras_require['girder'] = ['girder>=3.0.3', 'girder-jobs>=3.0.3', 'girder-worker>=0.6.0']

# perform the install
setup(
Expand Down
Loading

0 comments on commit a234cac

Please sign in to comment.