Skip to content

Remove EnumGetValues #398

Remove EnumGetValues

Remove EnumGetValues #398

Triggered via pull request December 30, 2023 08:09
Status Failure
Total duration 4m 6s
Artifacts 3

Test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 13 warnings
Ios
Process completed with exit code 1.
Core
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '7362964475', status: 422, response: { url: 'https://api.github.com/repos/verybadcat/CSharpMath/releases/44974867', status: 422, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', connection: 'close', 'content-length': '195', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Sat, 30 Dec 2023 08:09:36 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'github.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'contents=write', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '8889:5AA6:42F7065:8BCCAEB:658FD040', 'x-ratelimit-limit': '1000', 'x-ratelimit-remaining': '992', 'x-ratelimit-reset': '1703927352', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '8', 'x-xss-protection': '0' }, data: { message: 'Validation Failed', errors: [ { resource: 'Release', code: 'invalid', field: 'target_commitish' } ], documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release' } }, request: { method: 'PATCH', url: 'https://api.github.com/repos/verybadcat/CSharpMath/releases/44974867', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: `{"body":"<!--Example release name: 0.5.2 xxx Update [Alpha|Beta]-->\\n<!--Please release immediately after modifying as any changes will be overwritten on next run of the Test workflow-->\\n<!--Remove these comments, they will be visible in the released NuGet packages!-->\\n\\n## Changes from v0.5.1 (Recently merged first)\\n## 🚀 Features\\n\\n<details><summary>Add TextColor property to BaseButton and make MathInputButton's color customizable (#164) @SymboLinker</summary><table><td>\\n\\nThe main goal of this commit is to make keyboard colors customizable (per keyboard key) to fit an app's color theme(s). For example, a dark keyboard background with light button texts.\\r\\n\\r\\nCSharpMath.Forms:\\r\\n- Refactor BaseButton's constructor.\\r\\n- Add TextColor property to BaseButton and a bindable TextColorProperty.\\r\\n- Remove the predefined Red color from MathInputButton.InputToLaTeX(input) for \\"Backspace\\" and \\"Clear\\".\\r\\n\\r\\nCSharpMath.Forms.Example (MathKeyboard.xaml):\\r\\n- Use the TextColorProperty in the Style of \\"Backspace\\" and \\"Clear\\", setting it to Red.\\n</td></table></details>\\n\\n\\n## 🧰 Maintenance\\n\\n<details><summary>Update FractionDisplay.cs (#200) @ReallyVirtual</summary><table><td>\\n\\nFix a copy/paste typo\\n</td></table></details>\\n\\n## Contributors\\n@ReallyVirtual, @SymboLinker, @charlesroddie and Charles Roddie\\n","draft":true,"prerelease":true,"make_latest":"false","name":"0.5.2 CI","tag_name":"v0.5.2","target_commitish":"refs/pull/230/merge"}`, request: {} }, event: { id: '7362964475', name: 'pull_request', payload: { action: 'opened', number: 230, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/verybadcat/CShar
Core
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '7362964475', name: 'pull_request', payload: { action: 'opened', number: 230, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/verybadcat/CSharpMath/issues/230/comments' }, commits: { href: 'https://api.github.com/repos/verybadcat/CSharpMath/pulls/230/commits' }, html: { href: 'https://github.com/verybadcat/CSharpMath/pull/230' }, issue: { href: 'https://api.github.com/repos/verybadcat/CSharpMath/issues/230' }, review_comment: { href: 'https://api.github.com/repos/verybadcat/CSharpMath/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/verybadcat/CSharpMath/pulls/230/comments' }, self: { href: 'https://api.github.com/repos/verybadcat/CSharpMath/pulls/230' }, statuses: { href: 'https://api.github.com/repos/verybadcat/CSharpMath/statuses/cc29eff38bc8408ba41ca334462ee100726ff9f0' } }, active_lock_reason: null, additions: 1, assignee: null, assignees: [], author_association: 'COLLABORATOR', auto_merge: null, base: { label: 'verybadcat:master', ref: 'master', repo: { allow_auto_merge: false, allow_forking: true, allow_merge_commit: false, allow_rebase_merge: false, allow_squash_merge: true, allow_update_branch: false, archive_url: 'https://api.github.com/repos/verybadcat/CSharpMath/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/verybadcat/CSharpMath/assignees{/user}', blobs_url: 'https://api.github.com/repos/verybadcat/CSharpMath/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/verybadcat/CSharpMath/branches{/branch}', clone_url: 'https://github.com/verybadcat/CSharpMath.git', collaborators_url: 'https://api.github.com/repos/verybadcat/CSharpMath/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/verybadcat/CSharpMath/comments{/number}', commits_url: 'https://api.github.com/repos/verybadcat/CSharpMath/commits{/sha}', compare_url: 'https://api.github.com/repos/verybadcat/CSharpMath/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/verybadcat/CSharpMath/contents/{+path}', contributors_url: 'https://api.github.com/repos/verybadcat/CSharpMath/contributors', created_at: '2017-10-06T00:24:11Z', default_branch: 'master', delete_branch_on_merge: false, deployments_url: 'https://api.github.com/repos/verybadcat/CSharpMath/deployments', description: 'LaTeX. in C#. (ported from the wonderful iosMath project).', disabled: false, downloads_url: 'https://api.github.com/repos/verybadcat/CSharpMath/downloads', events_url: 'https://api.github.com/repos/verybadcat/CSharpMath/events', fork: false, forks: 56, forks_count: 56, forks_url: 'https://api.github.com/repos/verybadcat/CSharpMath/forks', full_name: 'verybadcat/CSharpMath', git_commits_url: 'https://api.github.com/repos/verybadcat/CSharpMath/git/commits{/sha}', git_refs_url: 'https://api.github.com/repos/verybadcat/CSharpMath/git/refs{/sha}', git_tags_url:
Core: CSharpMath.Xaml.Tests.NuGet/Test.cs#L16
The type 'Color' is defined in an assembly that is not referenced. You must add a reference to assembly 'Avalonia.Visuals, Version=0.10.0.0, Culture=neutral, PublicKeyToken=c8d484a7012f9a8b'.
Core: CSharpMath.Apple/BackEnd/JsonMathTable.cs#L25
Possible null reference argument for parameter 'value' in 'int Extensions.Value<int>(IEnumerable<JToken> value)'.
Core: CSharpMath.Apple/BackEnd/JsonMathTable.cs#L29
Possible null reference argument for parameter 'value' in 'int Extensions.Value<int>(IEnumerable<JToken> value)'.
Core: CSharpMath.Apple/BackEnd/JsonMathTable.cs#L50
Possible null reference argument for parameter 'value' in 'short Extensions.Value<short>(IEnumerable<JToken> value)'.
Core: CSharpMath.Apple/BackEnd/JsonMathTable.cs#L52
Possible null reference argument for parameter 'value' in 'short Extensions.Value<short>(IEnumerable<JToken> value)'.
Core: CSharpMath.Apple/Resources/ManifestResources.cs#L17
Dereference of a possibly null reference.
Core: CSharpMath.Apple/BackEnd/JsonMathTable.cs#L126
Possible null reference argument for parameter 'value' in 'short Extensions.Value<short>(IEnumerable<JToken> value)'.
Core: CSharpMath.Apple/BackEnd/JsonMathTable.cs#L143
Possible null reference argument for parameter 'value' in 'string? Extensions.Value<string>(IEnumerable<JToken> value)'.
Core: CSharpMath.Apple/BackEnd/JsonMathTable.cs#L143
Possible null reference argument for parameter 'glyphName' in 'TGlyph IGlyphNameProvider<TGlyph>.GetGlyph(string glyphName)'.
Core: CSharpMath.Apple/BackEnd/JsonMathTable.cs#L144
Possible null reference argument for parameter 'value' in 'int Extensions.Value<int>(IEnumerable<JToken> value)'.
Ios
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Ios
No files were found with the provided path: /tmp/tests_artifacts. No artifacts will be uploaded.
Core
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Core: Typography/Typography.TextBreak/Typography.TextBreak.UnitTests/FrenchTests.cs#L59
#warning: 'Use `breaker.BreakWords(text, breakList);` once #156 is merged'
Core: Typography/Typography.TextBreak/Typography.TextBreak.UnitTests/FrenchTests.cs#L82
#warning: 'Use `breaker.BreakWords("«Maître leçon»", breakList);` once #156 is merged'
Core: Typography/Typography.OpenFont/WebFont/Woff2Reader.cs#L687
The variable 'useMatrix' is assigned but its value is never used
Core: Typography/Typography.OpenFont/WebFont/Woff2Reader.cs#L689
The variable 'hasScale' is assigned but its value is never used
Core: Typography/Typography.OpenFont/Tables.BitmapAndSvgFonts/BitmapFontsCommon.cs#L581
Field 'GlyphBitmapDataFmt1.smallGlyphMetrics' is never assigned to, and will always have its default value
Core: Typography/Typography.OpenFont/Tables.BitmapAndSvgFonts/BitmapFontsCommon.cs#L690
Field 'GlyphBitmapDataFmt7.bigMetrics' is never assigned to, and will always have its default value
Core: Typography/Typography.OpenFont/Tables.BitmapAndSvgFonts/BitmapFontsCommon.cs#L720
Field 'EbdtComponent.glyphID' is never assigned to, and will always have its default value 0
Core: Typography/Typography.OpenFont/Tables.BitmapAndSvgFonts/BitmapFontsCommon.cs#L721
Field 'EbdtComponent.xOffset' is never assigned to, and will always have its default value 0
Core: Typography/Typography.OpenFont/Tables.BitmapAndSvgFonts/BitmapFontsCommon.cs#L759
Field 'GlyphBitmapDataFmt9.bigMetrics' is never assigned to, and will always have its default value
Core: Typography/Typography.OpenFont/Tables.BitmapAndSvgFonts/BitmapFontsCommon.cs#L734
Field 'GlyphBitmapDataFmt8.pad' is never assigned to, and will always have its default value 0

Artifacts

Produced during runtime
Name Size
CSharpMath.Rendering.Tests results Expired
42.5 MB
CSharpMath.Xaml.Tests.NuGet results Expired
292 Bytes
NuGet packages Expired
1.13 MB