From 1fe619aa41d8b49aa7efc10794e70c49235b6116 Mon Sep 17 00:00:00 2001 From: jbannon Date: Fri, 29 Apr 2022 07:11:40 +0000 Subject: [PATCH] run tests and coverage in workflow --- .../workflows/{linter.yaml => build_lint_test.yaml} | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) rename .github/workflows/{linter.yaml => build_lint_test.yaml} (66%) diff --git a/.github/workflows/linter.yaml b/.github/workflows/build_lint_test.yaml similarity index 66% rename from .github/workflows/linter.yaml rename to .github/workflows/build_lint_test.yaml index 711ab9f5..caa43a9e 100644 --- a/.github/workflows/linter.yaml +++ b/.github/workflows/build_lint_test.yaml @@ -17,7 +17,17 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install .[lint] + pip install . - name: Run linters run: | + pip install .[lint] ./tools/linter check + - name: Run tests with coverage + run: | + pip install .[test] + ./tools/test + - name: Test Coverage + id: html_preview + uses: pavi2410/html-preview-action@v2 + with: + html_file: htmlcov/index.html