From 2dc19812d109de2e055cc40c3034c756a232e9e7 Mon Sep 17 00:00:00 2001 From: yumiguan <41277086+yumiguan@users.noreply.github.com> Date: Mon, 4 Jan 2021 14:36:34 +0800 Subject: [PATCH] bugfix/frontend-width-overflow (#29) * Fix frontend width overflow; Add error log when load base failure * add pytest --- .github/workflows/unittest.yml | 4 +++- frontend/src/App.vue | 2 +- frontend/src/components/apiList.vue | 5 ++--- frontend/src/components/banner.vue | 8 +++----- .../handlers/base_source_handler.py | 17 +++++++++++++---- lyrebird_api_coverage/version.py | 2 +- requirements.txt | 3 +-- setup.py | 10 ++++++++-- 8 files changed, 32 insertions(+), 19 deletions(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 755ab397..6181f32c 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -18,4 +18,6 @@ jobs: pip install -r requirements.txt pip install . - name: Unit Test - run: pytest + run: | + cd tests + python -m pytest . diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 7945915b..e14b369a 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -65,6 +65,6 @@ export default { diff --git a/frontend/src/components/apiList.vue b/frontend/src/components/apiList.vue index 8ec43f07..c760b61d 100644 --- a/frontend/src/components/apiList.vue +++ b/frontend/src/components/apiList.vue @@ -1,7 +1,7 @@