Update requirements.txt #66
Workflow file for this run
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: Python package | |
on: [push] | |
jobs: | |
checks: | |
# fail-fast: false | |
runs-on: ${{ matrix.os }} | |
strategy: | |
max-parallel: 4 | |
matrix: | |
os: [ubuntu-latest] | |
python-version: [3.7, 3.8, 3.9, 3.10.5] | |
steps: | |
- uses: actions/checkout@master | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e .[dev] | |
pip install coveralls | |
- name: Code flake8 check | |
run: | | |
flake8 | |
- name: Doctest | |
run: | | |
python -m doctest numpy_ext.py | |
- name: Test with pytest | |
run: | | |
pytest | |
export COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }} | |
coveralls |