Skip to content

Commit

Permalink
Merge 590099d into 498b63c
Browse files Browse the repository at this point in the history
  • Loading branch information
eamahanna committed Oct 22, 2020
2 parents 498b63c + 590099d commit 0d7f388
Show file tree
Hide file tree
Showing 10 changed files with 3,720 additions and 742 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
- TRAVIS_NODE_VERSION="10.10.0"
- secure: "JPdkdywgQbUUixuDuATMXZHWpWImziRoGKd1tCjYd3+0lamLBlldmjhsZ+Bp7ZabKg2ExQZareGDp34cJdOwWBGb2gg0/emjy4UkWkbDH28zyoWNK1SFp6OTY8AeY/icPXKw3MBgKoXG+hemfcxhYc8rUNgUt7V2fA0JSAkCi4w="
- secure: "BrGlbfGLxZYCynh7LeIFyQeiTx4YX6fdMYK2UceVLoAFjOml9mvtJY5i4Oafc2iBDPQ0wAP/eIzZOTcddwc+12o1S0EAq3zZb5z+MOwRKjsiC+BGUXNzAGLaeJqFTC5Sn+vvqsaDGaR3jrdQ8APUL7XapuLUAkof7vqc1SPsn3I="
- secure: "YH4s6huZYW34XFlKDAg7yC8VGUjIiird3gDKOmHyhlPVoQa75tll3iqVBBxNFcj+5CfzlCU+ZZK/JTvRoLJ7+QBPrRm7eZ6+s44JaJK+eAz12AJKdEfZyp+blMQ26Y8uOz5AZQhnRsoYfbqDK3p/T8FW1MAKdvE+8nHDCdAh26k="

cache:
directories:
Expand Down
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ build-travis-narrative:
sed -i 's/{{ if ne .Env.CONFIG_ENV "prod" }} true {{- else }} false {{- end }}/true/' src/config.json && \
jupyter notebook --version

test: test-backend test-frontend-unit test-frontend-e2e
test: test-backend test-frontend
@echo "done running backend and frontend test scripts"

# test-backend should use nose, or the like, to test our
Expand All @@ -49,20 +49,20 @@ test-backend:
sh $(BACKEND_TEST_SCRIPT)
@echo "done"

test-frontend:
TOKEN="$(token)" python test/unit/run_tests.py -u -i

# test-frontend-unit should use karma and jasmine to test
# each of the Javascript components of the Narrative.
# This is achieved through the grunt test invocation
test-frontend-unit:
@echo "running frontend unit tests"
python test/unit/run_tests.py
python test/unit/run_tests.py -u
@echo "done"

# test-frontend-e2e should use Selenium to perform an end-
# to-end test of the front end components, with a running
# Narrative system.
test-frontend-e2e:
@echo "running frontend end-to-end tests"
cd $(FRONTEND_TEST_DIR)
test-integration:
@echo "running integration tests"
TOKEN="$(token)" python test/unit/run_tests.py -i
@echo "done"

build-docs:
Expand Down
Loading

0 comments on commit 0d7f388

Please sign in to comment.