diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..25f87bd --- /dev/null +++ b/.coveragerc @@ -0,0 +1,13 @@ +[run] +branch = True +source = dbttoolkit + +[report] +exclude_lines = + if self.debug: + pragma: no cover + raise NotImplementedError + if __name__ == .__main__.: +ignore_errors = True +omit = + tests/* diff --git a/.github/workflows/publish-package.yaml b/.github/workflows/publish-package.yaml index 328c96b..c7363c0 100644 --- a/.github/workflows/publish-package.yaml +++ b/.github/workflows/publish-package.yaml @@ -8,10 +8,10 @@ jobs: publish-package: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.8.x' diff --git a/.github/workflows/run-code-checks.yaml b/.github/workflows/run-code-checks.yaml index 24caab6..f9a27e6 100644 --- a/.github/workflows/run-code-checks.yaml +++ b/.github/workflows/run-code-checks.yaml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.8.x' @@ -22,7 +22,7 @@ jobs: run: pip3 install pipenv - name: Cache Python packages - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.local/share/virtualenvs/ key: ${{ runner.os }}-python-${{ hashFiles('**/Pipfile.lock') }} diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index c41d018..77053c1 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.8.x' @@ -22,13 +22,13 @@ jobs: run: pip3 install pipenv - name: Cache Python packages - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.local/share/virtualenvs/ key: ${{ runner.os }}-python-${{ hashFiles('**/Pipfile.lock') }} - name: Install Python dependencies - run: pipenv install --dev --deploy + run: pipenv install --dev --deploy - name: Install this package run: pipenv run pip3 install . diff --git a/src/dbttoolkit/documentation/presentation/__init__.py b/src/dbttoolkit/documentation/presentation/__init__.py new file mode 100644 index 0000000..e69de29