Enable GitLab CI automated testing

Created on 18 December 2024, 4 months ago

Enable GitLab CI automated testing.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @Liam Morland
  • 🇨🇦Canada smulvih2 Canada 🍁

    Looks good @liam, let me know once you are ready to run the tests.

  • Pipeline finished with Success
    4 months ago
    Total: 150s
    #372742
  • Pipeline finished with Success
    4 months ago
    Total: 147s
    #372751
  • 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

    It could be merged anytime. There are a few simple issues outstanding that should be fixed.

  • 🇨🇦Canada smulvih2 Canada 🍁

    Looks like cspell fails, might need to add these words ['Frontdoor', 'wildcardpath', 'azurecdn']. As well some issues with README.md, maybe this can be ignored completely from cspell.

    PHPStan showing this:

    ------ ---------------------------------------------------------------------- 
      Line   src/Form/AzureCdnPurgeForm.php                                        
     ------ ---------------------------------------------------------------------- 
      68     Method Drupal\Core\Form\ConfigFormBase::__construct() invoked with 1  
             parameter, 2 required.                                                
     ------ ---------------------------------------------------------------------- 
     ------ ---------------------------------------------------------------------- 
      Line   src/Plugin/Purge/Purger/AzurePurger.php                               
     ------ ---------------------------------------------------------------------- 
      149    \Drupal calls should be avoided in classes, use dependency injection  
             instead                                                               
      174    \Drupal calls should be avoided in classes, use dependency injection  
             instead                                                               
     ------ ----------------------------------------------------------------------
    
  • 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

    I'm referring to the line 68 issue.

    Some of the spelling failures are spelling errors that should be fixed. Some can be ignored in .gitlab-ci.yml by setting _CSPELL_WORDS.

  • Pipeline finished with Success
    4 months ago
    Total: 278s
    #372777
  • Pipeline finished with Success
    4 months ago
    Total: 154s
    #372788
  • 🇨🇦Canada smulvih2 Canada 🍁

    This gets the GitLab tests working without errors, just warnings on some dependency injection. Will close this ticket and we can fix dependency injection issues in separate ticket.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024