Skip to content

Commit

Permalink
CI fix unit tests (#51)
Browse files Browse the repository at this point in the history
CI ensure tox-gh-actions runs only the os/py combination provided by GHA
  • Loading branch information
stefan-jansen authored Sep 6, 2021
1 parent 5e2fc85 commit f264a23
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ jobs:
- name: Install Zipline
run: |
set -xe
python -VV
python -m site
pip install -U pip setuptools wheel tox tox-gh-actions
python -m pip install --upgrade pip
pip install tox tox-gh-actions
pip install -e .[test]
shell: bash
- name: Lint with flake8
run: "python -m flake8"
run: |
flake8
- name: Unittests with tox & pytest
run: "python -m tox"
run: |
tox
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ revision
condag
archive

conda/ta-lib
conda/logbook
conda
.pytest_cache
admin
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
envlist = py{37,38,39}-pandas{11,12}
isolated_build = True
skip_missing_interpreters = True
minversion = 3.23.0
requires = setuptools >=42.0.0
pip >=21.0
wheel >0.36.0
Cython >0.29.21,<3
numpy
tox-gh-actions

[gh-actions]
python =
Expand Down

0 comments on commit f264a23

Please sign in to comment.