diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77df2c9d..66119aac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: env: MP_API_KEY: ${{ secrets.MP_API_KEY }} + GITHUB_ACTION_IS_RUNNING: 1 runs-on: ${{ matrix.os }} strategy: diff --git a/pyproject.toml b/pyproject.toml index 6c1bf2ae..4bbc0356 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,6 +68,7 @@ doc = [ "ipython", "matplotlib", "myst-parser", + "dunamai==1.19.2", ] build = [ "flit~=3.7", diff --git a/scripts/build_docs.sh b/scripts/build_docs.sh index facd1ffd..95acf5c4 100644 --- a/scripts/build_docs.sh +++ b/scripts/build_docs.sh @@ -21,5 +21,6 @@ pip install toml bash scripts/install.sh bash scripts/install.sh doc echo "__version__ = '$(dunamai from any --style=pep440 --no-metadata)'" >lightshow/_version.py +cat lightshow/_version.py build_docs git checkout lightshow/_version.py