mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-16 21:03:46 +08:00
Add tests
This commit is contained in:
1 parent
78d83fc85e
commit
87b57104a5
5 files changed
+97
-30
No files matched your search
@@ -16,16 +16,15 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python 3.10
|
||||
- name: Set up Python 3.8.13
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: "3.10"
|
||||
python-version: "3.8.13"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install flake8 pytest
|
||||
if [ -f environment/requirements.txt ]; then pip install -r environment/requirements.txt; fi
|
||||
pip install -r environment/requirements.txt
|
||||
python setup.py develop
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest tests/nerf/test_graph.py
|
||||
pytest tests
|
||||
Reference in new issue
Block a user