Skip to content

Commit

Permalink
Nose2pytest migration (#9)
Browse files Browse the repository at this point in the history
* WIP nose2pytest

* WIP: nose2pytest

* WIP: nose 2 pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP: nose 2 pytest

* WIP: nose 2 pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest ZiplineTestCase

* WIP nose2pytest

* WIP nose2pytest CI

* WIP nose2pytest CI

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest

* WIP nose2pytest
  • Loading branch information
MBounouar committed Apr 29, 2021
1 parent 9e8b48f commit d7809d7
Show file tree
Hide file tree
Showing 92 changed files with 4,893 additions and 5,304 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest , windows-latest, macos-latest ]
python-version: [ 3.8 ]
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.8]
exclude:
- os: macos-latest
python-version: 3.9
- os: windows-latest
python-version: 3.9
- os: macos-latest
python-version: 3.9
- os: windows-latest
python-version: 3.9

steps:
- name: Checkout Zipline
Expand Down Expand Up @@ -87,6 +87,6 @@ jobs:
run: |
flake8
- name: Unittests with tox & nose
- name: Unittests with tox & pytest
run: |
tox -p auto -q
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,10 @@ archive

conda/ta-lib
conda/logbook

# Vscode custome settings
.vscode

# Python Virtual envs
.venv
Pipfile
21 changes: 6 additions & 15 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,9 @@ classifiers =
Topic :: System :: Distributed Computing


[nosetests]
verbosity = 2
with-ignore-docstrings = 1
with-timer = 1
timer-top-n = 15
with-coverage = 1
cover-package = zipline
with-doctest = 1
testmatch = (?:^|[\\b_\\.-])[Tt]est(?!ing)
logging-level = INFO

[tools:pytest]
testpaths = tests
addopts = -v

# See the docstring in versioneer.py for instructions. Note that you must
# re-run 'versioneer.py setup' after changing this section, and commit the
Expand Down Expand Up @@ -90,11 +82,10 @@ install_requires =
[options.extras_require]
test =
tox
coverage>=4.0.3
nose>=1.3.7
pytest>=6.2.3
pytest-cov>=2.11.1
pytest-timeout>=1.4.2
parameterized>=0.6.1
nose-ignore-docstring>=0.2
nose-timer>=0.5.0
mock>=2.0.0p
testfixtures>=4.1.2
flake8>=3.3.0
Expand Down
Loading

0 comments on commit d7809d7

Please sign in to comment.