mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 06:49:13 +08:00
Update github action
This commit is contained in:
1 parent
6b3c15c22a
commit
4485a00e2a
1 file changed
+9
-1
@@ -1,4 +1,4 @@
|
|||||||
name: Python application
|
name: Format Lint and Test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -25,6 +25,14 @@ jobs:
|
|||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r environment/requirements.txt
|
pip install -r environment/requirements.txt
|
||||||
python setup.py develop
|
python setup.py develop
|
||||||
|
- name: Run Black
|
||||||
|
uses: psf/black@stable
|
||||||
|
with:
|
||||||
|
options: "--check --verbose --line-length=120"
|
||||||
|
- name: Python Pylint GitHub Action
|
||||||
|
uses: vcoder4c/git_pylint@v3
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pytest tests
|
pytest tests
|
||||||
Reference in new issue
Block a user