Skip to content

Convert some examples to doctests #2256

Convert some examples to doctests

Convert some examples to doctests #2256

Triggered via pull request April 9, 2024 14:19
Status Failure
Total duration 15m 18s
Artifacts

CI.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 8 warnings
test (1.10, ubuntu-latest)
Process completed with exit code 1.
test (1.10, windows-latest)
Process completed with exit code 1.
test (1.10, macOS-latest)
Process completed with exit code 1.
Documentation: docs/src/constructors.md#L32
doctest failure in src/constructors.md:32-35 ```jldoctest julia> n = ZZ("12345678765456787654567890987654567898765678909876567890") 12345678765456787654567890987654567898765678909876567890 ``` Subexpression: n = ZZ("12345678765456787654567890987654567898765678909876567890") Evaluated output: ERROR: UndefVarError: `ZZ` not defined Stacktrace: [1] top-level scope @ none:1 Expected output: 12345678765456787654567890987654567898765678909876567890 diff = Warning: Diff output requires color. 12345678765456787654567890987654567898765678909876567890ERROR: UndefVarError: `ZZ` not defined Stacktrace: [1] top-level scope @ none:1
Documentation: docs/src/constructors.md#L48
doctest failure in src/constructors.md:48-57 ```jldoctest julia> R, x = polynomial_ring(ZZ, "x") (Univariate polynomial ring in x over ZZ, x) julia> f = x^3 + 3x + 1 x^3 + 3*x + 1 julia> g = R(12) 12 ``` Subexpression: R, x = polynomial_ring(ZZ, "x") Evaluated output: ERROR: UndefVarError: `polynomial_ring` not defined Stacktrace: [1] top-level scope @ none:1 Expected output: (Univariate polynomial ring in x over ZZ, x) diff = Warning: Diff output requires color. (Univariate polynomial ring in x over ZZ, x)ERROR: UndefVarError: `polynomial_ring` not defined Stacktrace: [1] top-level scope @ none:1
Documentation: docs/src/constructors.md#L48
doctest failure in src/constructors.md:48-57 ```jldoctest julia> R, x = polynomial_ring(ZZ, "x") (Univariate polynomial ring in x over ZZ, x) julia> f = x^3 + 3x + 1 x^3 + 3*x + 1 julia> g = R(12) 12 ``` Subexpression: f = x^3 + 3x + 1 Evaluated output: ERROR: UndefVarError: `x` not defined Stacktrace: [1] top-level scope @ none:1 Expected output: x^3 + 3*x + 1 diff = Warning: Diff output requires color. x^3 + 3*x + 1ERROR: UndefVarError: `x` not defined Stacktrace: [1] top-level scope @ none:1
Documentation: docs/src/constructors.md#L48
doctest failure in src/constructors.md:48-57 ```jldoctest julia> R, x = polynomial_ring(ZZ, "x") (Univariate polynomial ring in x over ZZ, x) julia> f = x^3 + 3x + 1 x^3 + 3*x + 1 julia> g = R(12) 12 ``` Subexpression: g = R(12) Evaluated output: ERROR: UndefVarError: `R` not defined Stacktrace: [1] top-level scope @ none:1 Expected output: 12 diff = Warning: Diff output requires color. 12ERROR: UndefVarError: `R` not defined Stacktrace: [1] top-level scope @ none:1
Documentation
Process completed with exit code 1.
test (1.10, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (1.9, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (1.6, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (1.10, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (1.11-nightly, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (nightly, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (1.10, macOS-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Documentation
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.