2022-10-24 21:51:15 +00:00
|
|
|
name: lint
|
|
|
|
|
2022-11-07 13:53:17 +00:00
|
|
|
on: [push, pull_request_target]
|
2022-10-24 21:51:15 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
python-version: ["3.7"]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
|
uses: actions/setup-python@v3
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
python -m pip install --upgrade pip
|
2022-11-07 23:22:37 +00:00
|
|
|
pip install -r test_requirements.txt
|
2022-10-24 21:51:15 +00:00
|
|
|
- name: Analysing the code with our lint
|
|
|
|
run: |
|
|
|
|
make lint
|