Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,11 @@ jobs:

- name: Install MongoShell
run: |
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
wget -qO- https://www.mongodb.org/static/pgp/server-8.0.asc | sudo tee /etc/apt/trusted.gpg.d/server-8.0.asc
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu noble/mongodb-org/8.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-8.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo apt-get install -y mongodb-mongosh
mongosh --version

- name: Configure MongoDB
run: |
Expand Down
18 changes: 2 additions & 16 deletions .github/workflows/dashboard-src-new-with-playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,13 @@ jobs:

# Launch Orion backend

- name: Launch Orion server
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Orion from local copy
run: python -m pip install ../../.[profet]

- name: Setup MongoDB
uses: supercharge/mongodb-github-action@1.8.0
with:
mongodb-version: 6.0
mongodb-db: orion_dashboard_test
- name: Populate MongoDB
run: |
cd ../../
python .github/workflows/orion/pickle_to_mongodb.py
cd dashboard/src/

- name: check ulimit
run: ulimit -a

- name: Start fake Orion backend
run: |
# Start Orion backend in repository root folder.
Expand Down Expand Up @@ -88,7 +74,7 @@ jobs:
# Upload orion backend log.
- name: Get Orion backend log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fake-orion-backend-log-artifact-${{ matrix.node-version }}
path: dashboard/src/fake-orion-backend-${{ matrix.node-version }}.log
2 changes: 1 addition & 1 deletion .github/workflows/dashboard-src.yml.deactivated
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
# Upload orion backend log.
- name: Get Orion backend log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: orion-backend-log-artifact-${{ matrix.node-version }}
path: orion-backend-${{ matrix.node-version }}.log
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,7 @@ docs/src/gen_modules

# Data and checkpoints downloaded or generated by the Profet tasks.
profet_data


# geckodriver executable if present in folder
geckodriver
2 changes: 1 addition & 1 deletion dashboard/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"devDependencies": {
"@commitlint/cli": "17.0.1",
"@commitlint/config-conventional": "7.6.0",
"@playwright/test": "^1.32.3",
"@playwright/test": "^1.50.1",
"@testing-library/dom": "^8.17.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
Expand Down
Loading
Loading