From 58eeefda8f0ae8ba86fb053ff738922ba55d2739 Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Thu, 14 Nov 2024 00:32:16 +0100 Subject: [PATCH] Fixed dependencies for unit tests --- .forgejo/workflows/units.yml | 8 ++++++++ .forgejoe/workflows/units.yml | 25 ------------------------- 2 files changed, 8 insertions(+), 25 deletions(-) delete mode 100644 .forgejoe/workflows/units.yml diff --git a/.forgejo/workflows/units.yml b/.forgejo/workflows/units.yml index f49504e..6ca12b1 100644 --- a/.forgejo/workflows/units.yml +++ b/.forgejo/workflows/units.yml @@ -16,6 +16,14 @@ jobs: with: submodules: true + - name: Update repo + run: | + sudo apt-get update + + - name: Install check + run: | + sudo apt-get -y install check + - name: Build unit tests run: | make unit diff --git a/.forgejoe/workflows/units.yml b/.forgejoe/workflows/units.yml deleted file mode 100644 index 825e474..0000000 --- a/.forgejoe/workflows/units.yml +++ /dev/null @@ -1,25 +0,0 @@ -Name: Unit Tests - - -on: - push: - branches: [ 'master', 'main', 'release/**' ] - pull_request: - branches: [ '*' ] - -jobs: - unit_test: - runs-on: ubuntu-24.04 - - steps: - - uses: actions/checkout@v2 - with: - submodules: true - - - name: Build unit tests - run: | - make unit - - - name: Run unit tests - run: | - test/unit/unit