Skip to content

Commit

Permalink
Update yarn.lock (#1032)
Browse files Browse the repository at this point in the history
* Update yarn.lock

* Create gunicorn_tmp_dir to match orion_config.yaml

* Check geckodriver

* Try to expose geckodriver in PATH before running test_frontend

* Try to make sure firefox is installed

* Fix yaml

* Use `mongoSH` instead of `mongo`

* Update and check MongoDB

* Try to configure mongodb using Github Actions properties

* Remove mongodb changes
  • Loading branch information
notoraptor authored Nov 30, 2022
1 parent 642f9a6 commit 46856a3
Show file tree
Hide file tree
Showing 2 changed files with 1,249 additions and 984 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,16 @@ jobs:
run: |
wget https://github.com/mozilla/geckodriver/releases/download/v0.31.0/geckodriver-v0.31.0-linux64.tar.gz
tar -xvf geckodriver-v0.31.0-linux64.tar.gz
export PATH=$PATH:$(pwd)
- name: Create gunicorn_tmp_dir to match orion_config.yaml
run: mkdir -p gunicorn_tmp_dir
- name: Launch backend
run: orion serve -c .github/workflows/orion/orion_config.yaml &
- name: Launch frontend
run: orion frontend &
- name: Install Firefox
uses: browser-actions/setup-firefox@latest
- name: Test frontend
run: pytest tests/functional/serving/test_frontend.py
run: PATH=$PATH:$(pwd) pytest tests/functional/serving/test_frontend.py

test:
needs: [pre-commit, pretest]
Expand Down
Loading

0 comments on commit 46856a3

Please sign in to comment.