Add tests

This commit is contained in:
Matt Tancik committed 2022-04-11 16:24:14 -07:00
1 parent 78d83fc85e
commit 87b57104a5
5 files changed
+97 -30

No files matched your search

+4 -5
View File
@@ -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