mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 02:09:57 +00:00
Disable BUILD_EPOCH for unit tests (#5723)
This commit is contained in:
parent
9bda080e3d
commit
b41efc17ba
5
.github/workflows/test_native.yml
vendored
5
.github/workflows/test_native.yml
vendored
@ -84,6 +84,11 @@ jobs:
|
||||
run: echo "version=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT
|
||||
id: version
|
||||
|
||||
# Disable (comment-out) BUILD_EPOCH. It causes a full rebuild between tests and resets the
|
||||
# coverage information each time.
|
||||
- name: Disable BUILD_EPOCH
|
||||
run: sed -i 's/-DBUILD_EPOCH=$UNIX_TIME/#-DBUILD_EPOCH=$UNIX_TIME/' platformio.ini
|
||||
|
||||
- name: PlatformIO Tests
|
||||
run: platformio test -e coverage --junit-output-path testreport.xml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user