Skip to content

Commit

Permalink
removed pytest split
Browse files Browse the repository at this point in the history
  • Loading branch information
srivarra committed Oct 26, 2022
1 parent 886fc72 commit b187d16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
18 changes: 2 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ install:
env:
global:
- MPLBACKEND=Agg
- DURATIONS_PATH=$HOME/.cache/split_durations/.test_durations
jobs:
- TESTMON_DATAFILE=$HOME/.cache/testmon/.testmondata

Expand All @@ -28,7 +27,6 @@ cache:
- $HOME/.cache/pip
- $HOME/.cache/huggingface/datasets/
- $HOME/.cache/testmon/
- $HOME/.cache/split_durations/


jobs:
Expand All @@ -39,23 +37,11 @@ jobs:
- pip install --editable .
- python -m pytest --testmon --pycodestyle

- stage: merge_test
- stage: pull_request
if: branch = main
script:
- pip install --editable .
- python -m pytest --store-durations --durations-path $DURATIONS_PATH
- pytest --splits 3 --group 1 --cov=ark --pycodestyle
-
if: branch = main
script:
- pip install --editable .
- pytest --splits 3 --group 2 --cov=ark --pycodestyle
-
if: branch = main
script:
- pip install --editable .
- pytest --splits 3 --group 3 --cov=ark --pycodestyle

- python -m pytest --pycodestyle --cov=ark ark/

- stage: test_pypi_deploy
script:
Expand Down
1 change: 0 additions & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ pytest-cov>=3.0.0,<4
pytest-mock<4.0.0
pytest-pycodestyle>=2.3.0,<3.0
pytest-asyncio>=0.18.1,<1.0
pytest-split>=0.8.0,<1.0
pytest-testmon>=1.3.7,<2
six>=1.16.0,<2.00
testbook>=0.4.2,<1.0
Expand Down

0 comments on commit b187d16

Please sign in to comment.