Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Install Orion from local cloned repository #1068

Merged
merged 2 commits into from
Jan 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions .github/workflows/dashboard-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -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.
Expand Down