Skip to content

Commit

Permalink
Next try - set TZ on test level
Browse files Browse the repository at this point in the history
  • Loading branch information
narc-Ontakac2 committed Jun 22, 2024
1 parent 89e80e3 commit 9323a8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/debuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ jobs:
- name: Set env
# Here we are setting a variable from an expression.
run: echo "TAG_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Set timezone
# Needed for TEST(mock_MeterOMS, first_packets)
run: |
sudo timedatectl set-timezone "Europe/Berlin"
sudo dpkg-reconfigure --frontend noninteractive tzdata
- name: add cloudsmith repo
run: |
LISTENTRY="deb [signed-by=$KEYFILE] $CLOUDURL/debian trixie main"
Expand Down Expand Up @@ -112,11 +107,6 @@ jobs:
env:
PBRT: /var/cache/pbuilder
steps:
- name: Set timezone
# Needed for TEST(mock_MeterOMS, first_packets)
run: |
sudo timedatectl set-timezone "Europe/Berlin"
sudo dpkg-reconfigure --frontend noninteractive tzdata
- name: update repo information
run: sudo apt-get update
- name: install archive keyring
Expand Down
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ IF(GCOV_PATH AND LCOV_PATH AND GENHTML_PATH)
COMMAND vzlogger_unit_tests
COMMAND mock_metermap
COMMAND mock_MeterW1therm
COMMAND mock_MeterOMS
COMMAND TZ="Europe/Berlin" mock_MeterOMS
COMMAND mock_MeterS0

# Capturing lcov counters and generating report
Expand Down

0 comments on commit 9323a8c

Please sign in to comment.