Docs Badge #351
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: [master] | |
pull_request: | |
branches: [master] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.8.12 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8.12" | |
- name: Install dependencies | |
run: | | |
pip install isort==5.10.1 black[jupyter]==22.3.0 | |
- name: Run isort | |
run: isort docs/ nerfacc/ scripts/ examples/ tests/ --profile black --skip examples/pycolmap --line-length 80 --check | |
- name: Run Black | |
run: black docs/ nerfacc/ scripts/ examples/ tests/ --exclude examples/pycolmap --line-length 80 --check | |
# - name: Python Pylint | |
# run: | | |
# pylint nerfacc/ tests/ scripts/ examples/ |