Skip to content

Commit

Permalink
Add step for running unit tests to MCU CI workflow (#206)
Browse files Browse the repository at this point in the history
Signed-off-by: Javier Balloffet <[email protected]>
  • Loading branch information
jballoffet authored Feb 2, 2024
1 parent 0d894b7 commit d608372
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/mcu-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

name: MCU CI

on:
Expand All @@ -40,7 +39,7 @@ on:
workflow_dispatch:

jobs:
build:
build_and_test:
runs-on: ubuntu-latest

steps:
Expand All @@ -56,7 +55,9 @@ jobs:
python-version: '3.9'
- name: Install PlatformIO Core
run: pip install --upgrade platformio

- name: Build application
working-directory: ./andino_firmware
run: pio run
- name: Run unit tests
working-directory: ./andino_firmware
run: pio test --environment=desktop

0 comments on commit d608372

Please sign in to comment.