martinlackner / abcvoting

Python implementations of approval-based committee (multi-winner) voting rules
https://abcvoting.readthedocs.io/
MIT License
31 stars 15 forks source link

add testing of pip packages #53

Closed lumbric closed 2 years ago

lumbric commented 2 years ago

Packages will be installed from PyPi and then at least one example script will be run. In future we could have more example scripts.

codecov-commenter commented 2 years ago

Codecov Report

Merging #53 (d1e2a3a) into master (757e1bc) will increase coverage by 0.10%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #53      +/-   ##
==========================================
+ Coverage   84.74%   84.85%   +0.10%     
==========================================
  Files          44       44              
  Lines        3828     3869      +41     
  Branches      901      900       -1     
==========================================
+ Hits         3244     3283      +39     
- Misses        478      481       +3     
+ Partials      106      105       -1     
Impacted Files Coverage Δ
examples/allrules.py 85.71% <0.00%> (-14.29%) :arrow_down:
tests/test_examples.py 93.42% <0.00%> (-0.17%) :arrow_down:
abcvoting/abcrules.py 91.83% <0.00%> (-0.14%) :arrow_down:
examples/abcsurvey/example02.py 100.00% <0.00%> (ø)
examples/abcsurvey/example03.py 100.00% <0.00%> (ø)
examples/abcsurvey/example04.py 100.00% <0.00%> (ø)
examples/abcsurvey/example05.py 100.00% <0.00%> (ø)
examples/abcsurvey/example06.py 100.00% <0.00%> (ø)
examples/abcsurvey/example07.py 100.00% <0.00%> (ø)
examples/abcsurvey/example08.py 100.00% <0.00%> (ø)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 757e1bc...d1e2a3a. Read the comment docs.

martinlackner commented 2 years ago

This PR is outdated; I close it. As discussed with @lumbric , the best way to handle such tests would be to run them regularly (eg once a week) but independently of commits.