Refactor endpoint tests to use the same setup #391
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: flake8 Lint | |
| on: [pull_request] | |
| jobs: | |
| flake8-lint: | |
| runs-on: ubuntu-latest | |
| name: Flake8 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.12 | |
| - name: install flake8 | |
| run: | | |
| pip install flake8 | |
| - name: run flake8 | |
| run: | | |
| flake8 . --max-line-length=100 | |
| continue-on-error: true |