Fix bug related to refine_scale2d and introduce a new parameter pause… #743
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Core Tests. | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Set up Python 3.8.12 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8.12" | |
- name: Install dependencies | |
run: | | |
pip install black[jupyter]==22.3.0 pytest | |
pip install torch==2.0.0 --index-url https://download.pytorch.org/whl/cpu | |
BUILD_NO_CUDA=1 pip install . | |
- name: Run Black Format Check | |
run: black . gsplat/ tests/ examples/ profiling/ --check | |
- name: Run Tests. | |
run: pytest tests/ |