From 65b65a4a2130865a9e21d393d49d6199da2aba17 Mon Sep 17 00:00:00 2001 From: notoraptor Date: Wed, 18 Jan 2023 11:59:30 -0500 Subject: [PATCH 1/2] [ci] Install Orion from local cloned repository and remove unused prints --- .github/workflows/dashboard-src.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dashboard-src.yml b/.github/workflows/dashboard-src.yml index 97853021c..93bfef815 100644 --- a/.github/workflows/dashboard-src.yml +++ b/.github/workflows/dashboard-src.yml @@ -38,13 +38,11 @@ jobs: uses: actions/setup-python@v2 with: python-version: 3.8 - - run: python -m pip install git+https://github.com/notoraptor/orion.git@feature/benchmark_webapi_rebased#egg=orion[profet] - - name: info about current directory - run: df . - - name: check filesystem type using df - run: df -Th - - name: check filesystem type using fstab - run: cat /etc/fstab + - name: Install Orion from local copy + run: | + cd ../../ + python -m pip install .[profet] + cd dashboard/src/ - name: Setup MongoDB uses: supercharge/mongodb-github-action@1.8.0 @@ -69,7 +67,7 @@ jobs: # check files formatting using Carbon's `ci-check` script - run: yarn ci-check # Run tests - # NB: Tests are running in parallel by default, this may cause backend to receive too many requests in small time + # NB: Tests are running in parallel by default, this may cause backend to receive too many requests in few time # Option --runInBand allows running tests sequentially: https://jestjs.io/docs/cli#--runinband - run: yarn test --all --verbose --runInBand # Upload orion backend log. From 9238b44cbba090d0c97710b2dfac1f67452e1a87 Mon Sep 17 00:00:00 2001 From: notoraptor Date: Thu, 19 Jan 2023 15:18:36 -0500 Subject: [PATCH 2/2] Try to install orion without moving from working directory dashboard/src --- .github/workflows/dashboard-src.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/dashboard-src.yml b/.github/workflows/dashboard-src.yml index 93bfef815..6220f2672 100644 --- a/.github/workflows/dashboard-src.yml +++ b/.github/workflows/dashboard-src.yml @@ -39,10 +39,7 @@ jobs: with: python-version: 3.8 - name: Install Orion from local copy - run: | - cd ../../ - python -m pip install .[profet] - cd dashboard/src/ + run: python -m pip install ../../.[profet] - name: Setup MongoDB uses: supercharge/mongodb-github-action@1.8.0