diff --git a/.coverage b/.coverage deleted file mode 100644 index 4cfa3f881ff..00000000000 Binary files a/.coverage and /dev/null differ diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 1ae3e48f7ea..00000000000 --- a/.coveragerc +++ /dev/null @@ -1,4 +0,0 @@ -[run] -omit = - # exclude tests files from coverage calculation - pymc/tests/test_*.py diff --git a/.github/workflows/arviz_compat.yml b/.github/workflows/arviz_compat.yml index cd580150724..363cf81bfcb 100644 --- a/.github/workflows/arviz_compat.yml +++ b/.github/workflows/arviz_compat.yml @@ -4,6 +4,14 @@ on: pull_request: push: branches: [main] + paths: + - ".github/workflows/*" + - "pymc/**" + - "setup.py" + - "pyproject.toml" + - "buildosx" + - "conda-envs/**" + - "codecov.yml" jobs: pytest: diff --git a/.github/workflows/jaxtests.yml b/.github/workflows/jaxtests.yml index a27d3b6b578..a45280478c6 100644 --- a/.github/workflows/jaxtests.yml +++ b/.github/workflows/jaxtests.yml @@ -4,6 +4,14 @@ on: pull_request: push: branches: [main] + paths: + - ".github/workflows/*" + - "pymc/**" + - "setup.py" + - "pyproject.toml" + - "buildosx" + - "conda-envs/**" + - "codecov.yml" jobs: pytest: diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index d231a8ea3cf..565aec8e656 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -4,6 +4,14 @@ on: pull_request: push: branches: [main] + paths: + - ".github/workflows/*" + - "pymc/**" + - "setup.py" + - "pyproject.toml" + - "buildosx" + - "conda-envs/**" + - "codecov.yml" # Tests are split into multiple jobs to accelerate the CI. diff --git a/build_and_deploy_docs.sh b/build_and_deploy_docs.sh deleted file mode 100644 index 6c3a5a43c31..00000000000 --- a/build_and_deploy_docs.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -latesttag=$(git describe --tags `git rev-list --tags --max-count=1`) -echo checking out ${latesttag} -git checkout ${latesttag} -git submodule update --remote -pushd docs/source -make html -ghp-import -c docs.pymc.io -n -p _build/html/ -popd diff --git a/codecov.yml b/codecov.yml index b0ab9d3c073..6f6450db430 100644 --- a/codecov.yml +++ b/codecov.yml @@ -21,6 +21,9 @@ coverage: threshold: 1% base: auto +ignore: + - "pymc/tests/*" + comment: layout: "reach, diff, flags, files" behavior: default diff --git a/conda-envs/environment-dev-py37.yml b/conda-envs/environment-dev-py37.yml index 9b07b0f4afc..6c491c23373 100644 --- a/conda-envs/environment-dev-py37.yml +++ b/conda-envs/environment-dev-py37.yml @@ -16,6 +16,7 @@ dependencies: - numpy>=1.15.0,<1.22.0 - numpydoc>=0.9 - pandas>=0.24 +- pip - pre-commit>=2.8.0 - pydata-sphinx-theme - pytest-cov>=2.5 diff --git a/conda-envs/environment-dev-py38.yml b/conda-envs/environment-dev-py38.yml index 17c3f42869a..b88d9550cb9 100644 --- a/conda-envs/environment-dev-py38.yml +++ b/conda-envs/environment-dev-py38.yml @@ -16,6 +16,7 @@ dependencies: - numpy>=1.15.0,<1.22.0 - numpydoc>=0.9 - pandas>=0.24.0 +- pip - pre-commit>=2.8.0 - pydata-sphinx-theme - pytest-cov>=2.5 diff --git a/conda-envs/environment-dev-py39.yml b/conda-envs/environment-dev-py39.yml index cbdc89390ac..bd04e480e07 100644 --- a/conda-envs/environment-dev-py39.yml +++ b/conda-envs/environment-dev-py39.yml @@ -16,6 +16,7 @@ dependencies: - numpy>=1.15.0,<1.22.0 - numpydoc>=0.9 - pandas +- pip - pre-commit>=2.8.0 - pydata-sphinx-theme - pytest-cov>=2.5 diff --git a/fast_build_docs.sh b/fast_build_docs.sh deleted file mode 100755 index 4030f4d9f2a..00000000000 --- a/fast_build_docs.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -git --git-dir=docs/source/pymc-examples/.git --work-tree=docs/source/pymc-examples checkout main -pushd docs/source -make clean -make html -popd