12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- name: tests
- on:
- push:
- pull_request:
- schedule:
- - cron: '0 20 * * 5'
- jobs:
- tests:
- runs-on: ubuntu-18.04
- strategy:
- matrix:
- python-version:
- - 3.5
- - 3.6
- - 3.7
- - 3.8
- pandas-version:
- - ''
- - 0.21.*
- - 0.22.*
- - 0.23.*
- - 0.24.*
- - 0.25.*
- - 1.1.*
- exclude:
-
-
- - python-version: 3.5
- pandas-version: 1.1.*
- - python-version: 3.7
- pandas-version: 0.21.*
- - python-version: 3.7
- pandas-version: 0.22.*
-
-
- - python-version: 3.8
- pandas-version: 0.21.*
-
- - python-version: 3.8
- pandas-version: 0.22.*
-
-
-
-
- - python-version: 3.8
- pandas-version: 0.23.*
- - python-version: 3.8
- pandas-version: 0.24.*
- fail-fast: false
- steps:
- - uses: actions/checkout@v1
- - uses: actions/setup-python@v1
- with:
- python-version: ${{ matrix.python-version }}
- - run: pip install --upgrade pipenv==2020.8.13
- - run: pipenv install --python "$PYTHON_VERSION" --deploy --dev
- env:
- PYTHON_VERSION: ${{ matrix.python-version }}
-
- - run: '[ -z "$PANDAS_VERSION" ] || pipenv run pip install "pandas==$PANDAS_VERSION"'
- env:
- PANDAS_VERSION: ${{ matrix.pandas-version }}
- - run: pipenv graph
- - run: pipenv run pytest --cov="$(cat *.egg-info/top_level.txt)" --cov-report=term-missing --cov-fail-under=100
- - run: pipenv run pylint --load-plugins=pylint_import_requirements "$(cat *.egg-info/top_level.txt)"
-
-
-
-
- - run: pipenv run pylint --disable=parse-error tests/*
-
-
-
-
- - run: pip install 'coveralls>=1.9.0,<2,!=1.11.0'
-
-
- - run: coveralls
- env:
- COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|