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" cache: "pip" cache-dependency-path: pyproject.toml - name: Install dependencies run: | pip install isort black - 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/