Skip to content

Fix transpilation logic to exclude constant members and add expected output files for classes with constant members #591

Fix transpilation logic to exclude constant members and add expected output files for classes with constant members

Fix transpilation logic to exclude constant members and add expected output files for classes with constant members #591

Triggered via pull request April 1, 2026 10:13
Status Failure
Total duration 2m 20s
Artifacts

pr-dev.yml

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

Annotations

5 errors and 1 warning
AXSharp.Compiler.CsTests.Cs.ax.CsOnlinerSourceBuilderTests ► class_with_constant_members: src/AXSharp.compiler/src/AXSharp.Compiler/AXSharpProject.cs#L104
Failed test found in: TestResults/AXSharp.Compiler.CsTests.csproj_net10.0.xml TestResults/AXSharp.Compiler.CsTests.csproj_net10.0.xml TestResults/AXSharp.Compiler.CsTests.csproj_net10.0.xml TestResults/AXSharp.Compiler.CsTests.csproj_net10.0.xml Error: System.IO.FileNotFoundException : Could not find file 'C:\AXAGs\INXTON-AXAG-APP-012\_work\axsharp\axsharp\src\AXSharp.compiler\tests\AXSharp.Compiler.CsTests\bin\Release\net10.0\samples\units\src\class_with_constant_members.st'.
AXSharp.CompilerTests.Integration.Cs.IxProjectTestsAx ► should_generate_all_even_when_fails_somewhere: src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/Integration.Cs/IxProjectTests.IntegrationCs.cs#L222
Failed test found in: TestResults/AXSharp.Compiler.CsTests.csproj_net10.0.xml TestResults/AXSharp.Compiler.CsTests.csproj_net10.0.xml Error: System.ArgumentOutOfRangeException : Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
AXSharp.CompilerTests.Integration.Cs.IxProjectTestsAx ► should_match_expected_and_generated_whole_project: src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/Integration.Cs/IxProjectTests.IntegrationCs.cs#L154
Failed test found in: TestResults/AXSharp.Compiler.CsTests.csproj_net10.0.xml TestResults/AXSharp.Compiler.CsTests.csproj_net10.0.xml Error: Assert.Equal() Failure: Values differ Expected: 78 Actual: 76
build (Release)
Failed test were found and 'fail-on-error' option is set to true
build (Release)
Process completed with exit code 1.
build (Release)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3, dorny/test-reporter@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/