Problem/Motivation
The module doesn't have a .gitlab-ci.yml for CI and furthermore it's unclear if it's fully D11 compatible and if code style is fine.
Would be great to fix that all now.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork jsonapi_views-3587949
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
anybodyComment #4
anybodyMost important is to get phpunit green again. But we should also resolve all the other CI issues here.
Comment #6
kieran.cottI’ve pushed up a fix addressing the functional test schema failure, PHPCS/PHPStan findings in
ViewsResource, and the CSpell errors. I also updated the cache context assertions to handle Drupal’s optimisedurl.query_argscontext.I've also run
JsonapiViewsResourceTestlocally in DDEV: 6 tests, 168 assertions passed.I've tested this manually and there don't appear to be any regressions in functionality.
There are still some existing PHPUnit deprecation notices, but pipelines are now green.
Comment #7
kieran.cottComment #10
decipheredThanks for getting this rolling, kieran.cott.
Building on your fix, I've re-scaffolded the module to drupal_extension_scaffold v4.17.0 and got the pipeline genuinely green.
Pushed to 8.x-1.x: 3e50d79.