Rewrite the grammar #50
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
paths: | |
- grammar.js | |
- src/** | |
- test/** | |
- bindings/** | |
- binding.gyp | |
pull_request: | |
paths: | |
- grammar.js | |
- src/** | |
- test/** | |
- bindings/** | |
- binding.gyp | |
concurrency: | |
group: ${{github.workflow}}-${{github.ref}} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Test parser | |
runs-on: ${{matrix.os}} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-14] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up tree-sitter | |
uses: tree-sitter/setup-action/cli@v1 | |
- name: Set up examples | |
run: |- | |
git clone https://github.com/JamesNK/Newtonsoft.Json examples/Newtonsoft.Json --single-branch --depth=1 --filter=blob:none | |
git clone https://github.com/nunit/nunit examples/nunit --single-branch --depth=1 --filter=blob:none | |
git clone https://github.com/OrchardCMS/orchard examples/orchard --single-branch --depth=1 --filter=blob:none | |
git clone https://github.com/microsoft/PowerToys examples/PowerToys --single-branch --depth=1 --filter=blob:none | |
- name: Run tests | |
uses: tree-sitter/parser-test-action@v2 | |
with: | |
test-rust: ${{runner.os == 'Linux'}} | |
- name: Parse examples | |
uses: tree-sitter/parse-action@v4 | |
id: test | |
continue-on-error: true | |
with: | |
files: | | |
examples/**/*.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/Benchmarks/BenchmarkConstants.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/Issues/Issue1569.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/LinqToSql/LinqToSqlClasses.designer.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/Serialization/DependencyInjectionTests.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/Serialization/JsonSerializerTest.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/Serialization/WebApiIntegrationTests.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/TestObjects/Computer.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/TestObjects/DateTimeTestClass.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/TestObjects/DefaultValueAttributeTestClass.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/TestObjects/GeometricForms/Tags.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/TestObjects/Money/Tags.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/TestObjects/Pair.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/TestObjects/SqlTypesDataSet.Designer.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/Utilities/EnumUtilsTests.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonBinaryWriter.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/IsoDateTimeConverter.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/JavaScriptDateTimeConverter.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/UnixDateTimeConverter.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/FormatterAssemblyStyle.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/JsonException.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/JsonReader.Async.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/JsonReaderException.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/JsonSerializationException.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/JsonTextReader.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/JsonValidatingReader.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/JsonWriter.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/JsonWriterException.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JValue.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaException.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/FormatterConverter.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonArrayContract.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonObjectContract.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonPrimitiveContract.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ConvertUtils.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DictionaryWrapper.cs | |
!examples/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/NullableAttributes.cs | |
!examples/PowerToys/src/settings-ui/Settings.UI.Library/Attributes/CmdConfigureIgnoreAttribute.cs | |
!examples/PowerToys/src/settings-ui/Settings.UI/SettingsXAML/App.xaml.cs | |
!examples/nunit/src/NUnitFramework/framework/Assert.cs | |
!examples/nunit/src/NUnitFramework/framework/Compatibility/LongLivedMarshalByRefObject.cs | |
!examples/nunit/src/NUnitFramework/framework/Compatibility/StringSyntaxAttribute.cs | |
!examples/nunit/src/NUnitFramework/framework/Compatibility/System.Threading/ManualResetEventSlim.cs | |
!examples/nunit/src/NUnitFramework/framework/Compatibility/System.Web.UI/ICallbackEventHandler.cs | |
!examples/nunit/src/NUnitFramework/framework/Constraints/MsgUtils.cs | |
!examples/nunit/src/NUnitFramework/framework/ExceptionExtensions.cs | |
!examples/nunit/src/NUnitFramework/framework/Internal/CallerArgumentExpressionAttribute.cs | |
!examples/nunit/src/NUnitFramework/framework/Internal/ExceptionHelper.cs | |
!examples/nunit/src/NUnitFramework/framework/Internal/OSPlatform.cs | |
!examples/nunit/src/NUnitFramework/framework/Internal/PlatformHelper.cs | |
!examples/nunit/src/NUnitFramework/framework/Internal/Reflect.cs | |
!examples/nunit/src/NUnitFramework/framework/Internal/Results/TestResult.cs | |
!examples/nunit/src/NUnitFramework/framework/Internal/TestParameters.cs | |
!examples/nunit/src/NUnitFramework/nunitlite/Options.cs | |
!examples/nunit/src/NUnitFramework/testdata/Polyfills.cs | |
!examples/nunit/src/NUnitFramework/tests/Assertions/AssertThatTests.cs | |
!examples/nunit/src/NUnitFramework/tests/Assertions/WarningTests.cs | |
!examples/nunit/src/NUnitFramework/tests/AsyncExecutionApiAdapter.Fixture-based.FSharp.cs | |
!examples/nunit/src/NUnitFramework/tests/Attributes/ApartmentAttributeTests.cs | |
!examples/nunit/src/NUnitFramework/tests/Attributes/RepeatableTestsWithTimeoutAttributesTests.cs | |
!examples/nunit/src/NUnitFramework/tests/Attributes/RequiresThreadAttributeTests.cs | |
!examples/nunit/src/NUnitFramework/tests/Attributes/SingleThreadedFixtureTests.cs | |
!examples/nunit/src/NUnitFramework/tests/AwaitableReturnTypeTests.cs | |
!examples/nunit/src/NUnitFramework/tests/Internal/EventQueueTests.cs | |
!examples/nunit/src/NUnitFramework/tests/Internal/UnexpectedExceptionTests.cs | |
!examples/nunit/src/NUnitFramework/tests/NonVoidResultAwaitableReturnTypeTests.cs | |
!examples/nunit/src/NUnitFramework/tests/SynchronizationContextTests.cs | |
!examples/nunit/src/NUnitFramework/tests/Syntax/PathConstraintTests.cs | |
!examples/nunit/src/NUnitFramework/tests/TestUtilities/StressUtility.cs | |
!examples/orchard/src/Orchard/DisplayManagement/Shapes/Composite.cs | |
- uses: actions/upload-artifact@v4 | |
if: steps.test.outputs.failures != '' | |
with: | |
name: failures | |
path: ${{steps.test.outputs.failures}} |