Skip to content

Commit

Permalink
test test
Browse files Browse the repository at this point in the history
  • Loading branch information
huxuan committed Apr 28, 2024
1 parent a4e67f2 commit 45f95a9
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
build:
jobs:
post_checkout:
- env | sort
- git fetch --unshallow || true
# Cancel building pull requests when there aren't changed in the related files and folders.
# If there are no changes (git diff exits with 0) we force the command to return with 183.
Expand All @@ -18,22 +17,18 @@ build:
then
exit 183;
fi
pre_create_environment:
post_system_dependencies:
- env | sort
pre_create_environment:
- asdf plugin add pdm
- asdf install pdm 2.15.0
- asdf global pdm 2.15.0
post_install:
- export VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH
- env | sort
- make dev-doc
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH make dev-doc
pre_build:
- env | sort
- CI_PAGES_URL=https://${READTHEDOCS_PROJECT}.readthedocs.io/${READTHEDOCS_LANGUAGE}/stable make changelog
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH CI_PAGES_URL=https://${READTHEDOCS_PROJECT}.readthedocs.io/${READTHEDOCS_LANGUAGE}/stable make changelog
post_build:
- env | sort
- make doc-mypy
- make doc-coverage
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH make doc-mypy doc-coverage
os: ubuntu-22.04
tools:
python: "3"
Expand Down

0 comments on commit 45f95a9

Please sign in to comment.