Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Run UnitTests as GitHub Action (Read 613 times)
Pascal Roobrouck
Junior Member
**
Offline


Posts: 19
Joined: Mar 3rd, 2017
Run UnitTests as GitHub Action
Jan 25th, 2021 at 4:44pm
Print Post  
Hi,

for all my hardware independent code, I am using the Native C++ Test Project in Visual Studio.
Now I want to automate it one step further and run the Unit Tests on GitHub Actions after a push/commit.

I guess this means telling the GitHub Actions workflow to
1* create a virtual machine, type Windows
2* install Visual Studio
3* build the unit test project
4* run the unit tests

If anyone did something like this before, your help is very much appreciated. 
- especially on 3. and 4. 
- for 1. and 2. examples can be found

FYI : I have GitHub actions running for the following :
* Validate a library with Arduino Lint
* Validate examples build and Arduino CI unit tests

See https://github.com/Strooom/LearnCI for an example.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint