ansible/vscode-ansible

Refactor building and testing

Open

#1968 aperta il 2 mag 2025

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (141 fork)github user discovery
AAPhelp wanted

Metriche repository

Star
 (477 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Summary

This is a tracking ticket for all the tech debt we identified related to the build and test of the extension.

  • remove direnv
  • install mise
  • install node/yarn with mise
  • install python with mise
  • install task with mise
  • ensure e2e and ui tests do not download content on each run (enable caching on GHA)
  • remove nyc with c8 as coverage tool (c8 is already used by extest and we have no reason to use multiple tools)
  • remove console spam from extest output https://github.com/redhat-developer/vscode-extension-tester/pull/1859
  • make extest downloads more resilient https://github.com/redhat-developer/vscode-extension-tester/pull/1854
  • remove sleep() from UI tests
  • replace lcov.info with cobertura-coverage.xml format for coverage because we spotted that some tools fail to process lcov.info (lcov and gcovr cli tool). Those xml formats seems to be more standardized, even if they are bit smaller
  • ensure that we have a coverage check limit configured for each type of testing, so we do not accidentally reduce coverage when making other changes. "check": true.
  • Add junit reporting for all 4 types of tests
  • Ensure coverage is correctly recognized by codecov.io and we do not accidentally break it

Investigate

  • Possible replacement of yarn with npm + lerna (like extest does)
  • [ ]

Guida contributor