wrapped json in StringIO object. #123
Workflow file for this run
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: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| testing: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.9 | |
| - name: Run black, flake8 and isort | |
| run: | | |
| pip3 install black==22.12.0 isort==5.9.3 flake8==3.9.2 | |
| black --check opti test | |
| flake8 --verbose opti test | |
| isort . --check-only --verbose | |
| - name: Run tests | |
| run: | | |
| pip install .[tests] | |
| pytest |