Improved endpoint tests #187
Workflow file for this run
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] | |
jobs: | |
flake8: | |
name: flake8 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install flake8 | |
run: pip install --upgrade flake8 | |
- name: Run flake8 | |
uses: liskin/gh-problem-matcher-wrap@v1 | |
with: | |
linters: flake8 | |
run: flake8 | |
isort: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- run: python -m pip install isort | |
- name: isort | |
uses: liskin/gh-problem-matcher-wrap@v1 | |
with: | |
linters: isort | |
run: isort -c -rc -df djangocms_link |