Skip to content

Commit

Permalink
Create check.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
YBCA7 authored Mar 20, 2024
1 parent 7ddc5fd commit 062b551
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check

on: [push]

jobs:
build:
runs-on: ubuntu-latest
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
pip install -r requirements.txt
pip install flake8
- name: Analysing the code with flake8
run: |
flake8 $(git ls-files '*.py')

0 comments on commit 062b551

Please sign in to comment.