upgraded type definitions to work with numpy 1.26.4 -- tests running … #18
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: ci | |
on: [pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: "3.x" | |
- uses: actions/checkout@v2 | |
- name: Lint with flake8 | |
run: | | |
pip install flake8 | |
flake8 . | |
- name: Lint with black | |
run: | | |
pip install black | |
black --check . | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.6, 3.7, 3.8] | |
steps: | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: "3.x" | |
- uses: actions/checkout@v2 | |
- name: Install package | |
run: pip install . | |
- name: Test with pytest | |
run: | | |
pip install pytest pytest-cov | |
cd test/ && pytest --cov krypy | |
- name: Submit to codecov | |
if: ${{ matrix.python-version == '3.8' }} | |
run: bash <(curl -s https://codecov.io/bash) |