File tree 3 files changed +10
-0
lines changed
3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 2
2
branch = True
3
3
include = wagtail_wordpress_import/*
4
4
omit = */migrations/*,*/tests/*
5
+ source =wagtail_wordpress_import
5
6
6
7
[report]
7
8
# Regexes for lines to exclude from consideration
Original file line number Diff line number Diff line change 33
33
tox
34
34
env :
35
35
TOXENV : python${{ matrix.python }}-django${{ matrix.django }}-wagtail${{ matrix.wagtail }}-sqlite
36
+ - name : " Upload coverage to Codecov"
37
+ uses : codecov/codecov-action@v2
38
+ with :
39
+ fail_ci_if_error : true
40
+ token : ${{ secrets.CODECOV_TOKEN }}
36
41
37
42
test-postgres :
38
43
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ exclude = migrations,node_modules
13
13
[testenv]
14
14
install_command = pip install -e " .[testing]" -U {opts} {packages}
15
15
commands = coverage run testmanage.py test --deprecation all
16
+ passenv = CI TRAVIS TRAVIS_*
17
+ deps = codecov
18
+ commands = codecov
16
19
17
20
basepython =
18
21
python3.8: python3.8
40
43
setenv =
41
44
postgres: DATABASE_URL ={env:DATABASE_URL:postgres:///wagtail_wordpress_import}
42
45
46
+
43
47
[testenv:flake8]
44
48
basepython =python3.8
45
49
deps =flake8>=2.2.0
You can’t perform that action at this time.
0 commit comments