Skip to content
Snippets Groups Projects
Commit 477d0942 authored by Ernestas Simutis's avatar Ernestas Simutis
Browse files

Add __release__ variable to fix docs build; add docs build test job

parent a7a08886
No related branches found
No related tags found
1 merge request!264Add __release__ variable to fix docs build; add docs build test job
Pipeline #67362 passed
......@@ -83,6 +83,17 @@ pypi_deploy:
only:
- tags
# ===== TEST BUILD DOCS =====
test_docs_build: # "pages" is a job specifically for GitLab pages [1]
image: ghcr.io/prefix-dev/pixi:latest
stage: # build, test, deploy defined by default [2]
deploy
script: # use sphinx to build docs
- pixi run -e default "cd docs; make html"
<<: *run_tests_rules
tags: # only runners with this tag can do the job [3]
- linux
# ===== BUILD DOCS AND PUSH TO PUBLIC WEBSITE =====
pages: # "pages" is a job specifically for GitLab pages [1]
image: ghcr.io/prefix-dev/pixi:latest
......
......@@ -2,6 +2,8 @@ from ._topfarm import *
import pkg_resources
from ._version import __version__
__release__ = __version__
plugins = {
entry_point.name: entry_point.load()
for entry_point
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment