Skip to content

implement transform service #713

implement transform service

implement transform service #713

Triggered via push April 17, 2024 21:32
Status Failure
Total duration 32s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 8 warnings
lint
Process completed with exit code 1.
test: spec/proformaxml/services/exporter_spec.rb#L80
ProformaXML::Exporter#perform with file refs (ProFormA 2.0) adds id attribute to file node Failure/Error: raise PostGenerateValidationError.new(errors) if errors.any? ProformaXML::PostGenerateValidationError: [#<Nokogiri::XML::SyntaxError: 7:0: ERROR: Element '{urn:proforma:v2.0}tests': This element is not expected. Expected is one of ( {urn:proforma:v2.0}external-resources, {urn:proforma:v2.0}model-solutions ).>]
test: spec/proformaxml/services/exporter_spec.rb#L84
ProformaXML::Exporter#perform with file refs (ProFormA 2.0) adds used-by-grader attribute to file node Failure/Error: raise PostGenerateValidationError.new(errors) if errors.any? ProformaXML::PostGenerateValidationError: [#<Nokogiri::XML::SyntaxError: 7:0: ERROR: Element '{urn:proforma:v2.0}tests': This element is not expected. Expected is one of ( {urn:proforma:v2.0}external-resources, {urn:proforma:v2.0}model-solutions ).>]
test: spec/proformaxml/services/exporter_spec.rb#L88
ProformaXML::Exporter#perform with file refs (ProFormA 2.0) adds visible attribute to file node Failure/Error: raise PostGenerateValidationError.new(errors) if errors.any? ProformaXML::PostGenerateValidationError: [#<Nokogiri::XML::SyntaxError: 7:0: ERROR: Element '{urn:proforma:v2.0}tests': This element is not expected. Expected is one of ( {urn:proforma:v2.0}external-resources, {urn:proforma:v2.0}model-solutions ).>]
test: spec/proformaxml/services/exporter_spec.rb#L92
ProformaXML::Exporter#perform with file refs (ProFormA 2.0) adds id attribute to model-solution node Failure/Error: raise PostGenerateValidationError.new(errors) if errors.any? ProformaXML::PostGenerateValidationError: [#<Nokogiri::XML::SyntaxError: 7:0: ERROR: Element '{urn:proforma:v2.0}tests': This element is not expected. Expected is one of ( {urn:proforma:v2.0}external-resources, {urn:proforma:v2.0}model-solutions ).>]
test: spec/proformaxml/services/exporter_spec.rb#L96
ProformaXML::Exporter#perform with file refs (ProFormA 2.0) adds refid attribute to fileref Failure/Error: raise PostGenerateValidationError.new(errors) if errors.any? ProformaXML::PostGenerateValidationError: [#<Nokogiri::XML::SyntaxError: 7:0: ERROR: Element '{urn:proforma:v2.0}tests': This element is not expected. Expected is one of ( {urn:proforma:v2.0}external-resources, {urn:proforma:v2.0}model-solutions ).>]
test: spec/support/shared_examples/proforma/exporter.rb#L156
ProformaXML::Exporter#perform when a populated task with a test is supplied behaves like task node with test in ProFormA 2.0 adds model-solutions node Failure/Error: raise PostGenerateValidationError.new(errors) if errors.any? ProformaXML::PostGenerateValidationError: [#<Nokogiri::XML::SyntaxError: 13:0: ERROR: Element '{urn:proforma:v2.0}tests': This element is not expected. Expected is one of ( {urn:proforma:v2.0}external-resources, {urn:proforma:v2.0}model-solutions ).>] Shared Example Group: "task node with test in ProFormA 2.0" called from ./spec/proformaxml/services/exporter_spec.rb:249
test: spec/support/shared_examples/proforma/exporter.rb#L160
ProformaXML::Exporter#perform when a populated task with a test is supplied behaves like task node with test in ProFormA 2.0 adds model-solution node to model-solutions Failure/Error: raise PostGenerateValidationError.new(errors) if errors.any? ProformaXML::PostGenerateValidationError: [#<Nokogiri::XML::SyntaxError: 13:0: ERROR: Element '{urn:proforma:v2.0}tests': This element is not expected. Expected is one of ( {urn:proforma:v2.0}external-resources, {urn:proforma:v2.0}model-solutions ).>] Shared Example Group: "task node with test in ProFormA 2.0" called from ./spec/proformaxml/services/exporter_spec.rb:249
test: spec/support/shared_examples/proforma/exporter.rb#L164
ProformaXML::Exporter#perform when a populated task with a test is supplied behaves like task node with test in ProFormA 2.0 adds filerefs node to model-solution Failure/Error: raise PostGenerateValidationError.new(errors) if errors.any? ProformaXML::PostGenerateValidationError: [#<Nokogiri::XML::SyntaxError: 13:0: ERROR: Element '{urn:proforma:v2.0}tests': This element is not expected. Expected is one of ( {urn:proforma:v2.0}external-resources, {urn:proforma:v2.0}model-solutions ).>] Shared Example Group: "task node with test in ProFormA 2.0" called from ./spec/proformaxml/services/exporter_spec.rb:249
test: spec/support/shared_examples/proforma/exporter.rb#L168
ProformaXML::Exporter#perform when a populated task with a test is supplied behaves like task node with test in ProFormA 2.0 adds fileref node to filerefs Failure/Error: raise PostGenerateValidationError.new(errors) if errors.any? ProformaXML::PostGenerateValidationError: [#<Nokogiri::XML::SyntaxError: 13:0: ERROR: Element '{urn:proforma:v2.0}tests': This element is not expected. Expected is one of ( {urn:proforma:v2.0}external-resources, {urn:proforma:v2.0}model-solutions ).>] Shared Example Group: "task node with test in ProFormA 2.0" called from ./spec/proformaxml/services/exporter_spec.rb:249
test: spec/support/shared_examples/proforma/exporter.rb#L130
ProformaXML::Exporter#perform when a populated task with a test is supplied behaves like task node with test in ProFormA 2.0 behaves like task node with test adds test node to tests Failure/Error: raise PostGenerateValidationError.new(errors) if errors.any? ProformaXML::PostGenerateValidationError: [#<Nokogiri::XML::SyntaxError: 13:0: ERROR: Element '{urn:proforma:v2.0}tests': This element is not expected. Expected is one of ( {urn:proforma:v2.0}external-resources, {urn:proforma:v2.0}model-solutions ).>] Shared Example Group: "task node with test" called from ./spec/support/shared_examples/proforma/exporter.rb:154 Shared Example Group: "task node with test in ProFormA 2.0" called from ./spec/proformaxml/services/exporter_spec.rb:249
lint: spec/proformaxml/services/exporter_spec.rb#L3
[rubocop] reported by reviewdog 🐶 Spec path should end with `proformaxml/exporter*_spec.rb`. Raw Output: spec/proformaxml/services/exporter_spec.rb:3:1: C: RSpec/FilePath: Spec path should end with `proformaxml/exporter*_spec.rb`.
lint: spec/proformaxml/services/exporter_spec.rb#L3
[rubocop] reported by reviewdog 🐶 Spec path should end with `proformaxml/exporter*_spec.rb`. Raw Output: spec/proformaxml/services/exporter_spec.rb:3:1: C: RSpec/SpecFilePathFormat: Spec path should end with `proformaxml/exporter*_spec.rb`.
lint: spec/proformaxml/services/importer_spec.rb#L3
[rubocop] reported by reviewdog 🐶 Spec path should end with `proformaxml/importer*_spec.rb`. Raw Output: spec/proformaxml/services/importer_spec.rb:3:1: C: RSpec/FilePath: Spec path should end with `proformaxml/importer*_spec.rb`.
lint: spec/proformaxml/services/importer_spec.rb#L3
[rubocop] reported by reviewdog 🐶 Spec path should end with `proformaxml/importer*_spec.rb`. Raw Output: spec/proformaxml/services/importer_spec.rb:3:1: C: RSpec/SpecFilePathFormat: Spec path should end with `proformaxml/importer*_spec.rb`.
lint: spec/proformaxml/services/transform_task_spec.rb#L5
[rubocop] reported by reviewdog 🐶 Spec path should end with `proformaxml/transform_task*_spec.rb`. Raw Output: spec/proformaxml/services/transform_task_spec.rb:5:1: C: RSpec/FilePath: Spec path should end with `proformaxml/transform_task*_spec.rb`.
lint: spec/proformaxml/services/transform_task_spec.rb#L5
[rubocop] reported by reviewdog 🐶 Spec path should end with `proformaxml/transform_task*_spec.rb`. Raw Output: spec/proformaxml/services/transform_task_spec.rb:5:1: C: RSpec/SpecFilePathFormat: Spec path should end with `proformaxml/transform_task*_spec.rb`.
lint: spec/proformaxml/services/validator_spec.rb#L3
[rubocop] reported by reviewdog 🐶 Spec path should end with `proformaxml/validator*_spec.rb`. Raw Output: spec/proformaxml/services/validator_spec.rb:3:1: C: RSpec/FilePath: Spec path should end with `proformaxml/validator*_spec.rb`.
lint: spec/proformaxml/services/validator_spec.rb#L3
[rubocop] reported by reviewdog 🐶 Spec path should end with `proformaxml/validator*_spec.rb`. Raw Output: spec/proformaxml/services/validator_spec.rb:3:1: C: RSpec/SpecFilePathFormat: Spec path should end with `proformaxml/validator*_spec.rb`.