Skip to content

Commit

Permalink
Pyright Github action (#45)
Browse files Browse the repository at this point in the history
* Add pyright github action

* change name
  • Loading branch information
xerbalind authored Mar 11, 2024
1 parent 0266ced commit 3b0531f
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint
name: Code Style

on:
push:
Expand Down Expand Up @@ -71,3 +71,23 @@ jobs:
with:
name: pytest-coverage-report
path: reports/pytest/
pyright:
name: Pyright
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
working-directory: backend
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyright
- name: run pyright
working-directory: backend
run: |
pyright

0 comments on commit 3b0531f

Please sign in to comment.