skip not found field (#37) #95
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: Build | |
on: push | |
jobs: | |
Build: | |
name: Build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: [ 3.6, 3.7, 3.8, 3.9 ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up python ${{ matrix.python-version }} | |
with: | |
python-version: ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip pipenv | |
pipenv sync | |
pipenv run pip install pytest | |
- name: Run Tests | |
run: | | |
pipenv run pytest | |
pipenv sync --dev | |
pipenv run pytest | |
pipenv run flake8 hutils tests setup.py | |
- name: Check code style | |
if: matrix.python-version == 3.9 | |
run: | | |
pipenv run flake8 . | |
pipenv run isort --check . | |
pipenv run black -l 120 --check . |