requirements_test.txt did not request tornado, but this test wants it #148
This file contains 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: lint | |
on: [push, pull_request] | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
env: | |
# note that some tools care only for the name, not the value | |
FORCE_COLOR: 1 | |
jobs: | |
lint: | |
name: tox-${{ matrix.toxenv }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
toxenv: [lint, docs-lint, pycodestyle, format, mypy] | |
python-version: [ "3.10" ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Using Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: pip | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install tox | |
- run: tox -e ${{ matrix.toxenv }} | |
- name: "Lint support files" | |
if: ${{ ! matrix.toxenv }} | |
# github UI shows a green checkmark instead of the original outcome :( | |
# should probably be called "force-conclusion: success" | |
continue-on-error: true | |
env: | |
# annoying results for pl_PL and fr_FR.. still the only *obvious* choice | |
LC_ALL: C | |
run: | | |
tail +6 THANKS | sort --ignore-case --check | |
sort --check .gitignore |