-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expansion of testing and addition of coverage per Summer 2020 key res…
…ults (#188) * add pytest-cov * failing test * repeat * #187 * testing measure * fix workflow name * i guess checks != github actions * remove repeat * fix test * add coveralls to requirements * fix workflow syntax * add TestData * use TestData for classinfo * use plainto_tsquery * commend unused functions * fix tests * more tests for classinfo * more tests * change TestData to module scope * add test script for running tests * singleton comparison * unreachable code * Add reload_data and clear_db to TestData. Add tests for semester_date_mapping * add cypress * add coverage reporting for cypress * move lint from pr-cd to ci * wait for all checks before running pr-cd * beep boop Github Action Master Branch CI Prettier hard at work * accesslint slowwwww * add workflow for cypress with coverage * override baseurl in ci * ci check needs cypress and add env var for coveralls * remove examples * fixes to cypress workflow * remove working dir * don't use docker for api workflow * forgot python setup * add DB_PORT * db fixes * more fixes * fix db setup * add coveralls upload * use codecov instead of coveralls * use bash codecov for js * add codecov badge to readme * config for codecov * Renaming jobs * move test_build to ci and remove testing workflow fail Co-authored-by: I'm a Github Action <beepboop@github.com>
- Loading branch information
1 parent
0650390
commit 37c6805
Showing
39 changed files
with
9,836 additions
and
117 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[run] | ||
omit = | ||
# ignore all tests | ||
tests/* | ||
conftest.py | ||
|
||
# ignore db and web | ||
src/data/* | ||
src/web/* | ||
|
||
# ignore non application code | ||
scripts/* | ||
ops/* | ||
bin/* |
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ node_modules/ | |
.python-version | ||
*.ipynb* | ||
courses20.xml | ||
.coverage |
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,20 @@ | ||
codecov: | ||
require_ci_to_pass: yes | ||
|
||
coverage: | ||
precision: 2 | ||
round: down | ||
range: "70...100" | ||
|
||
parsers: | ||
gcov: | ||
branch_detection: | ||
conditional: yes | ||
loop: yes | ||
method: no | ||
macro: no | ||
|
||
comment: false | ||
# layout: "reach,diff,flags,tree" | ||
# behavior: default | ||
# require_changes: no |
Oops, something went wrong.