Bump numpy from 1.18.5 to 1.22.0 in /requirements #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: [master] | |
tags: [v*] | |
pull_request: | |
branches: [master] | |
jobs: | |
miniconda: | |
name: Miniconda ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["ubuntu-latest", "windows-latest"] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: test | |
channels: conda-forge,defaults | |
environment-file: environment.yml | |
python-version: 3.8 | |
auto-activate-base: false | |
- shell: bash -l {0} | |
run: | | |
conda info | |
conda list | |
- name: Lint | |
shell: bash -l {0} | |
run: | | |
conda install flake8 | |
python -m flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | |
python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | |
- name: Run pytest | |
shell: bash -l {0} | |
run: | | |
pip install -r requirements/dev.txt | |
pip install -r requirements/docs.txt | |
pip install --upgrade pytest flake8 sphinx | |
pip install scipy --force-reinstall # for https://github.com/conda/conda/issues/6396 | |
pip install . | |
conda install pytest | |
py.test . --cov-report=xml --cov=traja -vvv | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: unittests | |
env_vars: OS,PYTHON | |
name: codecov-umbrella | |
fail_ci_if_error: false | |
verbose: false |