curdeveryday / vscode-m5stack-mpy

A extension to mange files for M5Stack micropython system
MIT License
32 stars 15 forks source link

CircleCI integration #22

Closed darul75 closed 2 years ago

darul75 commented 2 years ago

Hi @curdeveryday

Experimenting few more things I was interested in making sure this extension can load properly against different version of vscode by implementing an integration test. Doing proper testing of a feature directly into vscode is not straightforward therefore I ended up only testing if the extension has loaded using the isActive directive. All supported versions are tested and this is done through CircleCI. I also tested Travis but for now CircleCI seems to be providing more capabilities. On your end, can you just create a free account, then just map your repo and it should do the rest automatically.

Summary

Note

Only support Linux and Windows at the moment, and do not check all different arch x64....

The config resides into the .circleci folder

Screenshot 2021-12-30 at 14 23 35

CircleCI gives this type of output when the pipeline has completed

Screenshot 2021-12-30 at 14 26 56

Once this is done, you can add a badge in the Readme file.

https://circleci.com/docs/2.0/status-badges/

I will add some some more code coverage and unit tests in a future PR.

Also can you grant me some more permissions on your repository.

Is there anything else you want me to look at, any new features, bug fixes, ideas are welcome?