Skip to content

ci: update workflows #79

ci: update workflows

ci: update workflows #79

Workflow file for this run

name: test
on:
push:
paths:
- ".github/workflows/*"
- "Makefile"
- "src/**"
- "main.c"
- "test/**"
pull_request:
branches:
- "main"
paths:
- ".github/workflows/*"
- "Makefile"
- "src/**"
- "main.c"
- "test/**"
jobs:
run_unit_tests:
runs-on: ubuntu-latest
steps:
- name: Clone mmv
uses: actions/checkout@v3
- name: Clone test framework
uses: actions/checkout@v3
with:
repository: ThrowTheSwitch/Unity
path: Unity
- name: Set up directory
run: mv ./Unity/src/* test
- name: Build test executables
run: make test
- name: Clean up test executable
run: make test_clean