From 548cb8d6defd58dd6381a094a1cb10ea808e8157 Mon Sep 17 00:00:00 2001 From: ikethecoder Date: Mon, 20 May 2024 23:19:33 -0700 Subject: [PATCH] add coverage for gateway api --- .github/workflows/dev.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 4b2584d..413b00d 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -31,6 +31,15 @@ jobs: sudo apt install -y pipx git pipx ensurepath pipx install poetry + - name: Test coverage for Gateway API + run: | + export PATH=/root/.local/bin:$PATH + cd microservices/gatewayApi + poetry install --no-root + ENV=test GITHASH=11223344 \ + poetry run coverage run --branch -m pytest -s + poetry run coverage xml + - name: Test coverage for Kube API run: | export PATH=/root/.local/bin:$PATH