Skip to content

Commit

Permalink
Adds unit-test to microceph CI
Browse files Browse the repository at this point in the history
Signed-off-by: Utkarsh Bhatt <[email protected]>
  • Loading branch information
UtkarshBhatthere committed Sep 22, 2023
1 parent 3cd9bb9 commit 32ad024
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32ad024

Please sign in to comment.