Skip to content

Commit

Permalink
Fix the typo, add dependencies for type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Acly committed Dec 5, 2023
1 parent bd2000a commit 28528e5
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,21 @@ jobs:
uses: actions/checkout@v3
with:
submodules: true
- name: Lint
uses: psf/black@stable
- name: Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
- name: Dependencies
run: pip install -r requirements.txt
- name: Typecheck
uses: jakebailey/pyright-action@v1
with:
pylance-version: latest-release

- name: Lint
if: ${{ !cancelled() }}
uses: psf/black@stable

test:
runs-on: ubuntu-latest
steps:
Expand All @@ -33,10 +41,10 @@ jobs:
- name: Cache models
uses: actions/cache@v3
with:
path: script/docker/downloads
path: scripts/docker/downloads
key: models-v1
- name: Download models
run: python scripts/download_models.py --minimal script/docker/downloads
run: python scripts/download_models.py --minimal scripts/docker/downloads
- name: Test installer
run: python -m pytest tests/test_server.py -vs --test-install
- name: Test
Expand Down

0 comments on commit 28528e5

Please sign in to comment.