Skip to content

Merge pull request #46 from cowprotocol/change_parameter_naming #138

Merge pull request #46 from cowprotocol/change_parameter_naming

Merge pull request #46 from cowprotocol/change_parameter_naming #138

Workflow file for this run

name: pull request
on:
pull_request:
push:
branches: [ main ]
jobs:
lint-format-types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install Requirements
run: pip install -r requirements/dev.txt
- name: Pylint
run: pylint src/
- name: Black
run: black --check ./
- name: Type Check (mypy)
run: mypy src --strict
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install Requirements
run:
pip install -r requirements/dev.txt
- name: Unit Tests
run: python -m pytest tests/unit