This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use tox and run tests in python3 https://openedx.atlassian.net/browse/BOM-1359. * Do not include tests in coverage * Separate quality tests * Upload javascript coverage to codecov * Add coverage configuration that is present in other openedX projects
- Loading branch information
morenol
authored
Mar 17, 2020
1 parent
6bf9cd8
commit 7d2aa98
Showing
13 changed files
with
330 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash -xe | ||
|
||
apt update | ||
apt install -y xvfb language-pack-en firefox | ||
|
||
# Need firefox 46 specifically, later versions don't work with Karma(frontend testing library). | ||
curl -O https://ftp.mozilla.org/pub/firefox/releases/46.0/linux-x86_64/en-US/firefox-46.0.tar.bz2 | ||
tar xvf firefox-46.0.tar.bz2 | ||
mv -f firefox /opt | ||
mv -f /usr/bin/firefox /usr/bin/firefox_default | ||
ln -s /opt/firefox/firefox /usr/bin/firefox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
#!/bin/bash -xe | ||
. /edx/app/insights/venvs/insights/bin/activate | ||
. /edx/app/insights/nodeenvs/insights/bin/activate | ||
|
||
cd /edx/app/insights/edx_analytics_dashboard | ||
|
||
coverage xml | ||
make coverage | ||
|
||
bash ./scripts/build-stats-to-datadog.sh |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Base requirements for tox | ||
-c constraints.txt | ||
|
||
tox | ||
tox-battery |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# | ||
# This file is autogenerated by pip-compile | ||
# To update, run: | ||
# | ||
# make upgrade | ||
# | ||
appdirs==1.4.3 # via virtualenv | ||
configparser==4.0.2 # via importlib-metadata | ||
contextlib2==0.6.0.post1 # via importlib-metadata, importlib-resources, virtualenv, zipp | ||
distlib==0.3.0 # via virtualenv | ||
filelock==3.0.12 # via tox, virtualenv | ||
importlib-metadata==1.5.0 # via importlib-resources, pluggy, tox, virtualenv | ||
importlib-resources==1.3.1 # via virtualenv | ||
packaging==20.3 # via tox | ||
pathlib2==2.3.5 # via importlib-metadata, importlib-resources, virtualenv | ||
pluggy==0.13.1 # via tox | ||
py==1.8.1 # via tox | ||
pyparsing==2.4.6 # via packaging | ||
scandir==1.10.0 # via pathlib2 | ||
singledispatch==3.4.0.3 # via importlib-resources | ||
six==1.14.0 # via packaging, pathlib2, tox, virtualenv | ||
toml==0.10.0 # via tox | ||
tox-battery==0.5.2 # via -r requirements/tox.in | ||
tox==3.14.5 # via -r requirements/tox.in, tox-battery | ||
typing==3.7.4.1 # via importlib-resources | ||
virtualenv==20.0.10 # via tox | ||
zipp==1.2.0 # via importlib-metadata, importlib-resources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Basic requirements for Travis CI | ||
|
||
-c constraints.txt | ||
-r tox.txt | ||
|
||
codecov |
Oops, something went wrong.