From c9a40bef02333751fb8a4724f448bca165a1c67b Mon Sep 17 00:00:00 2001 From: Junfeng Qiao Date: Tue, 4 Jul 2023 18:47:22 +0200 Subject: [PATCH] Fix readthedocs & codecov (#22) * Fix readthedocs build failure * Fix codecov --- .github/workflows/ci.yml | 3 ++- README.md | 2 +- docs/source/conf.py | 1 - pyproject.toml | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02bd119..906eebe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,8 +70,9 @@ jobs: working-directory: tests - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true verbose: true working-directory: tests diff --git a/README.md b/README.md index cab5cb5..8bcb7f9 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Advanced AiiDA workflows for automated Wannierisation. |-----|----------------------------------------------------------------------------| |Latest release| [![PyPI version](https://badge.fury.io/py/aiida-wannier90-workflows.svg)](https://badge.fury.io/py/aiida-wannier90-workflows) [![PyPI pyversions](https://img.shields.io/pypi/pyversions/aiida-wannier90-workflows.svg)](https://pypi.python.org/pypi/aiida-wannier90-workflows/) | |Getting help| [![Docs status](https://readthedocs.org/projects/aiida-wannier90-workflows/badge)](http://aiida-wannier90-workflows.readthedocs.io/) [![Google Group](https://img.shields.io/badge/-Google%20Group-lightgrey.svg)](https://groups.google.com/forum/#!forum/aiidausers) -|Build status| [![Build Status](https://github.com/aiidateam/aiida-wannier90-workflows/actions/workflows/ci.yml/badge.svg)](https://github.com/aiidateam/aiida-wannier90-workflows/actions) [![Coverage Status](https://codecov.io/gh/aiidateam/aiida-wannier90-workflows/branch/main/graph/badge.svg)](https://codecov.io/gh/aiidateam/aiida-wannier90-workflows) | +|Build status| [![Build Status](https://github.com/aiidateam/aiida-wannier90-workflows/actions/workflows/ci.yml/badge.svg)](https://github.com/aiidateam/aiida-wannier90-workflows/actions) [![Coverage Status](https://codecov.io/gh/aiidateam/aiida-wannier90-workflows/branch/main/graph/badge.svg)](https://codecov.io/gh/aiidateam/aiida-wannier90-workflows/tree/main) | |Activity| [![PyPI-downloads](https://img.shields.io/pypi/dm/aiida-wannier90-workflows.svg?style=flat)](https://pypistats.org/packages/aiida-wannier90-workflows) [![Commit Activity](https://img.shields.io/github/commit-activity/m/aiidateam/aiida-wannier90-workflows.svg)](https://github.com/aiidateam/aiida-wannier90-workflows/pulse) diff --git a/docs/source/conf.py b/docs/source/conf.py index 9b22de8..85befe7 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -96,7 +96,6 @@ "use_fullscreen_button": False, "path_to_docs": "docs", "use_edit_page_button": True, - "extra_navbar": '

Made possible by the support of NCCR MARVEL, MaX CoE and the swissuniversities P-5 project.

', } html_domain_indices = True html_logo = "_static/logo.png" diff --git a/pyproject.toml b/pyproject.toml index eb375e6..d05d5a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,8 +51,7 @@ tests = [ "pytest", "pytest-cov", "pytest-regressions", - "pgtest", - "coverage[toml]" + "pgtest" ] pre-commit = ["pre-commit", "pylint"] docs = [