diff --git a/.github/workflows/backend-lint.yml b/.github/workflows/backend.yml similarity index 83% rename from .github/workflows/backend-lint.yml rename to .github/workflows/backend.yml index 04254a3..c4b407b 100644 --- a/.github/workflows/backend-lint.yml +++ b/.github/workflows/backend.yml @@ -1,4 +1,4 @@ -name: Backend Linting +name: Backend Testing on: [push, pull_request] jobs: @@ -6,7 +6,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.6, 3.7, 3.8] + python-version: [3.6, 3.8] poetry-version: [1.1.4] os: [ubuntu-20.04] runs-on: ${{ matrix.os }} @@ -23,3 +23,5 @@ jobs: run: poetry install - name: Flake8 run: poetry run flake8 hyperglass + - name: Run hyperglass + run: '.tests/app/setup.sh' diff --git a/hyperglass/cli/commands.py b/hyperglass/cli/commands.py index 28c7de9..214bde0 100644 --- a/hyperglass/cli/commands.py +++ b/hyperglass/cli/commands.py @@ -96,7 +96,7 @@ def build_frontend(): default=0, help=f"Number of workers. By default, calculated from CPU cores [{cpu_count(2)}]", ) -def start(build, direct, workers): +def start(build, direct, workers): # noqa: C901 """Start web server and optionally build frontend assets.""" try: # Project