From 51e812e2263931cff42c5e7385700baca218506a Mon Sep 17 00:00:00 2001 From: Agis Kounelis Date: Tue, 16 Apr 2024 11:11:11 +0300 Subject: [PATCH] Add faketime CI requirement for tests --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e5053f27f..b23a7ee62b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -124,6 +124,14 @@ jobs: - name: "Check build directory" run: ls -Rl + - name: "Install libfaketime (linux and macOS)" + if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-12' + run: | + git clone https://github.com/wolfcw/libfaketime/ + cd libfaketime + sudo make install + cd .. + - name: "Run tests" run: pytest -vv --showlocals