Commit Graph

4 Commits

Author SHA1 Message Date
Jelle van der Waa
2547d4bd56
Update coverage's ignore file 2021-09-13 21:33:50 +02:00
Jelle van der Waa
d7cc68b1eb
Remove non-functional travisci
Travis CI times out and as this repository will moved to Gitlab in the
future Github Actions will do for now.
2020-12-30 21:36:25 +01:00
jelle van der Waa
f3e26eb15a Misc fixes (#84)
* Update coveragerc to exclude newly located tests

There are now tests under main/tests/* etc, which should be omitted for
coverage.

* omit settings from coverage

settings and local_settings aren't interesting for coverage, omit them.

* remove leftover secure context processor

The secure context processor was used to determine if the cdn served
assets should be loaded over https or http. Since assets are no longer
served with a cdn and the whole site is loaded over https these days,
this code is dead and can be removed.

* packages: Add test for flagging packages out of date

Add simple test cases for flagging packages out of date, should later be
improved to query the Package model for packages and use that data
instead of hardcoding.
2018-02-18 04:33:52 -05:00
Jelle van der Waa
2ddb51512b Move coverage configuration to .coverage
Introduce a .coveragerc file to omit multiple files from test coverage
such as django's migrations, env and the tests itself.
2017-06-11 18:43:10 +02:00