Skip to content

Commit

Permalink
add pyright CI (#306)
Browse files Browse the repository at this point in the history
* add pyright CI

* empty

* typo

* exclude failing files
  • Loading branch information
jorendumoulin authored Dec 18, 2024
1 parent fe75393 commit 347f34f
Show file tree
Hide file tree
Showing 3 changed files with 200 additions and 191 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci-pyright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: CI - Pyright

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-24.04

env:
PYRIGHT_VERSION: 1.0

steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
- name: check pyright
run: pixi run pyright
Loading

0 comments on commit 347f34f

Please sign in to comment.