Battery-Emulator/.github/workflows/unit-tests.yml
dependabot[bot] df70353608
Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 01:42:22 +00:00

26 lines
464 B
YAML

name: ⚙️ Run Unit Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Configure and build with CMake
run: |
cp Software/USER_SECRETS.TEMPLATE.h Software/USER_SECRETS.h
cd test
mkdir build
cd build
cmake ..
cmake --build .
- name: Run unit tests
run: |
cd test/build
ctest