diff --git a/.circleci/config.yml b/.circleci/config.yml index dcf06ca..f99ba79 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 orbs: - python: circleci/python@1.2.1 + python: circleci/python@3.0.0 jobs: build_docs: @@ -10,6 +10,7 @@ jobs: steps: - checkout - python/install-packages: + args: --upgrade --upgrade-strategy=eager pkg-manager: pip-dist pip-dependency-file: docs/requirements.txt - run: @@ -31,9 +32,7 @@ jobs: - run: name: Install and configure dependencies command: | - # Old version used because of gh-pages bug: - # https://github.com/tschaub/gh-pages/issues/354 - npm install -g --silent gh-pages@3.0.0 + npm install -g --silent gh-pages git config --global user.email "MatplotlibCircleBot@nomail" git config --global user.name "MatplotlibCircleBot" - add_ssh_keys: diff --git a/.github/.github/workflows/lighthouse.yml b/.github/.github/workflows/lighthouse.yml deleted file mode 100644 index a766f75..0000000 --- a/.github/.github/workflows/lighthouse.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Lighthouse -on: [push, pull_request] -jobs: - CI: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - - name: Set up Python 3.7 - uses: actions/setup-python@v1 - with: - python-version: 3.7 - - - name: Install dask-sphinx-theme - run: | - python -m pip install --upgrade pip - python -m pip install -e . - - - name: Make example docs - run: | - cd docs - make html - - - name: Run Lighthouse against example docs build - uses: treosh/lighthouse-ci-action@v2 - with: - configPath: "./lighthouserc.json" - temporaryPublicStorage: true diff --git a/.github/.github/workflows/pre-commit.yaml b/.github/.github/workflows/pre-commit.yaml deleted file mode 100644 index 82e8821..0000000 --- a/.github/.github/workflows/pre-commit.yaml +++ /dev/null @@ -1,16 +0,0 @@ -name: Linting - -on: - push: - branches: main - pull_request: - branches: main - -jobs: - checks: - name: pre-commit hooks - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - - uses: pre-commit/action@v2.0.0 diff --git a/.github/.github/workflows/publish-pypi.yml b/.github/.github/workflows/publish-pypi.yml deleted file mode 100644 index 78cbfe6..0000000 --- a/.github/.github/workflows/publish-pypi.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Push to PyPI - -on: - push: - tags: - - "*" - -jobs: - publish: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v1 - - - name: Set up Python 3.7 - uses: actions/setup-python@v1 - with: - python-version: 3.7 - - - name: Install mpl-sphinx-theme - run: | - python -m pip install --upgrade pip - python -m pip install -e . - - - name: Build mpl-sphinx-theme dist - run: | - python -m pip install wheel twine - python setup.py sdist bdist_wheel - - - name: Publish mpl-sphinx-theme - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.pypi_token }} diff --git a/.github/.githubold/pull_request_template.md b/.github/.githubold/pull_request_template.md deleted file mode 100644 index d55de22..0000000 --- a/.github/.githubold/pull_request_template.md +++ /dev/null @@ -1,12 +0,0 @@ -## PR Summary - - - diff --git a/.github/.githubold/workflows/main.yml b/.github/.githubold/workflows/main.yml deleted file mode 100644 index c6864b5..0000000 --- a/.github/.githubold/workflows/main.yml +++ /dev/null @@ -1,12 +0,0 @@ -on: [status] -jobs: - circleci_artifacts_redirector_job: - runs-on: ubuntu-latest - name: Run CircleCI artifacts redirector - steps: - - name: GitHub Action step - uses: larsoner/circleci-artifacts-redirector-action@master - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - artifact-path: 0/docs/_build/html/index.html - circleci-jobs: build_docs