doc: make doc test use current ref
This commit is contained in:
10
.github/workflows/doc.yml
vendored
10
.github/workflows/doc.yml
vendored
@@ -24,9 +24,7 @@ jobs:
|
|||||||
run: npx embedme --verify README.md
|
run: npx embedme --verify README.md
|
||||||
|
|
||||||
doc_test:
|
doc_test:
|
||||||
continue-on-error: true
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- macos-latest
|
- macos-latest
|
||||||
@@ -58,6 +56,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
git() {
|
||||||
|
if [ "$1" = "clone" ]; then
|
||||||
|
# do nothing because we already have the branch
|
||||||
|
cd ..
|
||||||
|
else
|
||||||
|
command git "$@"
|
||||||
|
fi
|
||||||
|
}
|
||||||
source doc/_readme/scripts/install_llgo.sh
|
source doc/_readme/scripts/install_llgo.sh
|
||||||
|
|
||||||
- name: Test doc code blocks
|
- name: Test doc code blocks
|
||||||
|
|||||||
Reference in New Issue
Block a user