Skip to content

merge from sb_desal #137

merge from sb_desal

merge from sb_desal #137

Workflow file for this run

name: Test and Lint
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Test with pytest
run: |
pytest --cov-report xml --cov=pype_schema pype_schema/tests/ -vv
codecov -t ${{ secrets.CODECOV_TOKEN }}
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Lint with flake8
run: |
flake8 pype_schema --count --verbose --show-source --statistics
- name: Check with black
run: |
black --check pype_schema