Skip to content

Commit

Permalink
bbtravis: Enable e2e tests for the React frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
p12tic committed Aug 28, 2023
1 parent a47c4a1 commit 6167b74
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .bbtravis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ matrix:
env: TWISTED=latest SQLALCHEMY=latest TESTS=js_unit NUM_CPU=2 MEMORY_SIZE=2G
- python: "3.9"
env: TWISTED=latest SQLALCHEMY=latest TESTS=smokes NUM_CPU=4 MEMORY_SIZE=4G
- python: "3.9"
env: TWISTED=latest SQLALCHEMY=latest TESTS=smokes_react NUM_CPU=4 MEMORY_SIZE=4G

# include "ci" string into the name of the status that is eventually submitted to Github, so
# that the codecov.io service would wait until this build is finished before creating report.
Expand Down Expand Up @@ -97,7 +99,7 @@ matrix:
# Dependencies installation commands
install:
- pip install -U pip wheel
- condition: TESTS not in ("dev_virtualenv", "smokes", "trial_worker")
- condition: TESTS not in ("dev_virtualenv", "smokes", "smokes_react", "trial_worker")
cmd: pip install -r requirements-ci.txt
- condition: TESTS == "dev_virtualenv"
cmd: pip install -r requirements-ci.txt -r requirements-ciworker.txt -r requirements-cidocs.txt
Expand Down Expand Up @@ -194,7 +196,7 @@ script:
cmd: make docs-release-spelling

- title: maketarballs
condition: TESTS == "smokes"
condition: TESTS in ("smokes", "smokes_react")
cmd: make tarballs

- title: protractor tests
Expand All @@ -205,6 +207,14 @@ script:
condition: TESTS == "smokes" and not TRAVIS_PULL_REQUEST
cmd: ./common/smokedist.sh tar.gz

- title: protractor tests
condition: TESTS == "smokes_react"
cmd: ./common/smokedist-react.sh whl

- title: tarballs protractor tests
condition: TESTS == "smokes_react" and not TRAVIS_PULL_REQUEST
cmd: ./common/smokedist-react.sh tar.gz

notifications:
email: false

Expand Down

0 comments on commit 6167b74

Please sign in to comment.