Skip to content

Commit

Permalink
Add Pyright type checking to GitHub CI (EleutherAI#90)
Browse files Browse the repository at this point in the history
* Add few-shot prompt support; small PromptCollator improvements

* Add Pyright to GitHub Actions
  • Loading branch information
norabelrose committed Feb 19, 2023
1 parent e5b6065 commit 74f4bff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cpu_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Install Dependencies
run: pip install -e .[dev]

- name: Type Checking
uses: jakebailey/pyright-action@v1

- name: Run CPU Tests
run: pytest -m cpu

Expand All @@ -38,5 +41,8 @@ jobs:
- name: Install Dependencies
run: pip install -e .[dev]

- name: Type Checking
uses: jakebailey/pyright-action@v1

- name: Run CPU Tests
run: pytest -m cpu

0 comments on commit 74f4bff

Please sign in to comment.