Skip to content

Commit

Permalink
github workflow for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhagarwal03 committed Jun 28, 2024
1 parent bc341ae commit b811967
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: pull request
on:
pull_request:
push:
branches: [ main ]
jobs:
python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python 3.11
uses: actions/setup-python@v3
with:
python-version: '3.11'
- name: Install Requirements
run:
pip install -r requirements.txt
- name: Pylint
run:
pylint src/
- name: Black
run:
black --check ./
- name: Type Check (mypy)
run: mypy src --strict

0 comments on commit b811967

Please sign in to comment.