Closed (fixed)
Project:
Metatag
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Nov 2023 at 20:27 UTC
Updated:
8 Mar 2024 at 11:14 UTC
Jump to comment: Most recent
There is no .gitlab-ci.yml configuration file in the project.
"GitLab CI uses .gitlab-ci.yml file in the root of the project to configure testing. If you are familiar with the configuration files for Travis CI, GitHub Actions, or even custom DrupalCI yml files, you will find this quite similar."
Review source code, confirm no .gitlab-ci.yml file is present at project root.
Create a file using the template provided in the d.o instructions:
https://www.drupal.org/docs/develop/git/using-gitlab-to-contribute-to-dr...
N/A
N/A
N/A
N/A
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
damienmckennaThe original MR was created from the 2.0.x and against the 8.x-1.x branch, so I edited it to go against the 2.0.x branch. The tests are running again, we'll see how it goes.
Comment #4
pilot3 commentedComment #5
pilot3 commentedComment #6
nikolay shapovalov commentedFailed tests aren't dangerous and can be fixed in follow up task.
phpunit jobs takes 11 minutes because contrib by default runs them not parallel. Lets use concurrency/run-tests.sh, see https://git.drupalcode.org/project/flag/-/merge_requests/58/diffs
Adding phpstan.neon file and ignore phpstan "Unsafe usage of new static()." error, is also good idea.
Comment #7
nikolay shapovalov commentedI create separate issue to fix PHPunit tests #3413633: Fix tests for, compatibility with Drupal 10.2
Comment #8
damienmckennaComment #9
damienmckennaComment #10
damienmckennaI think this is ready.
Comment #11
nikolay shapovalov commentedDamienMcKenna, thanks for fixing tests.
Changes in the MR looks good.
I am not sure about changes in method MetatagTagTypesTest::todoTestUrl(), but I leave it up to you.
I would completely remove this method.
Mark this as RTBC.
Comment #12
naveenvalechaRTBC +1
Comment #14
damienmckennaCommitted. Thanks everyone.