Skip to content

Commit f5c5483

Browse files
committed
Added github workflow
1 parent e6e743d commit f5c5483

File tree

3 files changed

+36
-1
lines changed

3 files changed

+36
-1
lines changed

.github/workflows/main.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
unit-test:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout repository with submodules
16+
uses: actions/checkout@v2
17+
with:
18+
submodules: recursive
19+
20+
- name: Update submodules to the latest commit
21+
run: git submodule update --remote --recursive
22+
23+
- name: Set up Ruby
24+
uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: '3.0'
27+
28+
- name: Install specific Ceedling version
29+
run: gem install ceedling -v 0.31.1
30+
31+
- name: Install gcc-avr
32+
run: sudo apt-get update && sudo apt-get install -y gcc-avr
33+
34+
- name: Run Ceedling tests
35+
run: ceedling test:all

project.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
:paths:
3333
:test:
3434
- +:test/**
35+
- -:test/support
3536
:source:
3637
- src/**
3738
:support:
@@ -54,7 +55,6 @@
5455
:mock_prefix: mock_
5556
:when_no_prototypes: :warn
5657
:enforce_strict_ordering: TRUE
57-
:verbosity: 2
5858
:plugins:
5959
- :ignore
6060
- :array

test/support/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)