Our great sponsors
-
My successful GitHub Actions run: 3464401840 Testing PR to Another Repo: 3466622227
-
My successful GitHub Actions run: 3464401840 Testing PR to Another Repo: 3466622227
-
Sonar
Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
Catch
A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
To set up the GitHub Actions, we first need to create 2 folders, a .github in the root directory of the repository, and a workflows folder inside .github folder we just created. In the workflows folder, we create a YAML file to save the GitHub Actions configuration. I programmed my project in C++ with Catch 2 for the testing framework, my GitHub Actions should be set up with C++ software stacks. The process of how I set up my YAML is as follows: