Reworked _build_parameters_and_body in BaseRouter, fixed list for sca… #28
This file contains hidden or 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: Tests | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- 'benchmarks/**' | |
- 'docs/**' | |
- 'examples/**' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup environment (lint) | |
uses: ./.github/actions/setup-env | |
with: | |
python-version: "3.10" | |
install-flags: "--all-extras" | |
- name: Run linters | |
run: poetry run pre-commit run --all-files | |
test: | |
needs: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup environment (test) | |
uses: ./.github/actions/setup-env | |
with: | |
python-version: "3.10" | |
install-flags: "--all-extras" | |
- name: Run tests | |
run: poetry run pytest |