diff --git a/.github/workflows/pull-unit-tests.yml b/.github/workflows/pull-unit-tests.yml index 10ba97a2b3..1f6a4c33b7 100644 --- a/.github/workflows/pull-unit-tests.yml +++ b/.github/workflows/pull-unit-tests.yml @@ -14,7 +14,7 @@ on: - "Dockerfile.local" jobs: - run-namespace-test: + run-unit-test: runs-on: ubuntu-latest steps: - uses: gardenlinux/workflow-telemetry-action@v2 @@ -31,19 +31,7 @@ jobs: run: | set -e npm ci - npm run build - npm i -g serve - name: run_tests shell: bash - run: | - serve -s build > busola.log & - - pushd backend - npm start > backend.log & - popd - - echo "waiting for server to be up..." - while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' "$CYPRESS_DOMAIN")" != "200" ]]; do sleep 5; done - sleep 10 - + run: | npm run test