Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Romain DEP.
gajim
Commits
9095045b
Verified
Commit
9095045b
authored
Dec 22, 2020
by
André
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: Add test coverage
parent
d33d37c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
.gitlab-ci.yml
.gitlab-ci.yml
+8
-1
No files found.
.gitlab-ci.yml
View file @
9095045b
...
...
@@ -15,6 +15,7 @@ run-tests:
-
pip3 install -I git+https://dev.gajim.org/gajim/python-nbxmpp.git@master
-
pip3 install -I pylint==2.4.4
-
pip3 install -I codespell
-
pip3 install -I coverage
-
pip3 install -I css-parser
-
pip3 install -I keyring
-
pip3 install -I packaging
...
...
@@ -23,10 +24,16 @@ run-tests:
-
mypy -V
-
mypy gajim
-
scripts/dev/pylint-ci.sh --jobs=2 gajim
-
python3 -m unittest discover -s test/no_gui -v
-
coverage run --source=gajim -m unittest discover -s test/no_gui -v
-
coverage report -mi
-
coverage xml -i
-
codespell -I codespell.conf --skip="*__pycache__*,gajim/data/icons,gajim/data/sounds,gajim/data/emoticons" gajim
-
deactivate
-
rm -rf civenv-master
coverage
:
"
/TOTAL.+
([0-9]{1,3}%)/"
artifacts
:
reports
:
cobertura
:
coverage.xml
run-appdata
:
stage
:
test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment