gh/ci: run pyright in python venv
This commit is contained in:
parent
d9d765c6cd
commit
2e9496bb74
|
@ -57,10 +57,15 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
|
- uses: actions/setup-python@v1
|
||||||
|
with:
|
||||||
|
python-version: '3.8'
|
||||||
- name: Install pyright
|
- name: Install pyright
|
||||||
run: npm install -g pyright
|
run: npm install -g pyright
|
||||||
- name: Run pyright
|
- name: Install dependencies
|
||||||
run: pyright
|
run: sudo pip install -U wheel pipenv && pipenv install --dev
|
||||||
|
- name: Lint with pyright
|
||||||
|
run: pipenv run pyright
|
||||||
# Actual CI tests
|
# Actual CI tests
|
||||||
migrations:
|
migrations:
|
||||||
needs:
|
needs:
|
||||||
|
|
Reference in New Issue