Last active
March 2, 2023 09:28
-
-
Save larshei/2caef31a9771159e8f4dd965f69dbe23 to your computer and use it in GitHub Desktop.
Ceedling for Github Actions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Ceedling Unit Test | |
| on: | |
| push: | |
| branches: [ master, develop ] | |
| pull_request: | |
| branches: [ master, develop ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 2.7 | |
| - name: Install Ceedling | |
| run: gem install ceedling | |
| - name: Run Unit Tests | |
| run: | | |
| cd unit_test | |
| ceedling test:all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment