diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 27ecfcec..83cb94c0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -36,6 +36,29 @@ jobs: path: "*.snap" retention-days: 5 + unit-tests: + name: Run Microceph Unit tests + runs-on: ubuntu-22.04 + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Clear FORWARD firewall rules + run: tests/scripts/actionutils.sh cleaript + + - name: Install dependencies + run: | + sudo add-apt-repository ppa:dqlite/dev + sudo apt-get update + sudo apt-get install -y libdqlite-dev golang-go + + - name: Run unit-tests + run: | + cd microceph + make check-unit + single-system-tests: name: Single node with encryption runs-on: ubuntu-22.04