Debian Codegraph @

vendor/unity/.github/workflows/main.yml

raw
1 ---
2 # Continuous Integration Workflow: Test case suite run + validation build check
3 name: CI
4
5 # Controls when the action will run.
6 # Triggers the workflow on push or pull request events but only for the master branch
7 on:
8 push:
9 branches: [ master ]
10 pull_request:
11 branches: [ master ]
12
13 jobs:
14 # Job: Unit test suite
15 unit-tests:
16 name: "Unit Tests"
17 runs-on: ubuntu-latest
18 steps:
19 # Install Ruby Testing Tools
20 - name: Setup Ruby Testing Tools
21 run: |
22 sudo gem install rspec
23 sudo gem install rubocop -v 0.57.2
24
25 # Checks out repository under $GITHUB_WORKSPACE
26 - name: Checkout Latest Repo
27 uses: actions/checkout@v2
28
29 # Run Tests
30 - name: Run All Unit Tests
31 run: |
32 cd test && rake ci