Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name: "backend"
- on:
- pull_request:
- push:
- branches:
- - dev
- - prod
- defaults:
- run:
- working-directory: ./backend/django
- jobs:
- lint:
- name: lint
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - name: Set up Python
- uses: actions/setup-python@v4
- with:
- python-version: "3.12"
- - name: Install all required pip modules
- run: pip install -r ./linter-requirements.txt && pip install -r ./build-requirements.txt
- - name: Run pylint
- run: pylint seatstock
- format:
- name: check-format
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - name: Set up Python
- uses: actions/setup-python@v4
- with:
- python-version: "3.12"
- - name: Install linter_requirements.txt modules
- run: pip install -r ./linter-requirements.txt
- - name: Run black
- run: black --check seatstock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement