martinmoene / lest

A modern, C++11-native, single-file header-only, tiny framework for unit-tests, TDD and BDD (includes C++98 variant)
Boost Software License 1.0
390 stars 45 forks source link

add workflow for GitHub Actions #73

Closed striezel closed 2 years ago

striezel commented 2 years ago

I noticed that there is a configuration file for Travis CI (https://github.com/martinmoene/lest/blob/14fa8ee66fe8d2df783c587bcded761291a9b3bb/.travis.yml), but no tests ran on Travis CI for the recent commit 14fa8ee66fe8d2df783c587bcded761291a9b3bb. So only the AppVayor tests with Visual Studio ran. That's why I decided to add GitHub Actions workflows instead.

The Travis CI configuration tests some older compilers like GCC 4.8 to GCC 7 and Clang 3.5 to Clang 6, but I don't think those are available on GitHub Actions. Therefore, the workflow uses some newer compilers. Feel free to adjust this to your needs, if you want to test on other compiler versions, too.

Looks like this when it runs: https://github.com/striezel-stash/lest/actions/runs/2502630546

martinmoene commented 2 years ago

Thanks @striezel

Added GitHub workflow badge to Readme, kept badge for Travis for now for easy access to old results.