coveralls support
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- ci-cd, testing-qa
Hướng nghiên cứu
Bắt đầu với lệnh coveralls và các mục có dấu gạch nối trong tox.ini, sau đó kiểm tra các log của Taskcluster và ví dụ .taskcluster.yml từ Balrog. Xem README của từng script để tìm các badge đã lỗi thời. Công việc được xem là hoàn tất khi việc gửi coverage hoạt động và dự án có quyết định rõ ràng về việc báo cáo trên toàn repository hay theo từng script.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Support for coveralls needs attention.
We generate coverage data for each script via tox and then call coveralls to submit coverage data to coverage.io, but that's all legacy code that doesn't quite work currently. It appears that this was originally set up when each script was in a separate github repo, and using TravisCI. Each script's README points to coveralls.io badges for the old repos (like mozilla-releng/balrogscript, rather than mozilla-releng/scriptworker-scripts/balrogscript); of course those are all dormant currently.
As far as I can tell, coveralls.io assumes a one-to-one correspondence between a coverage project and a github repo: We can monitor coverage for mozilla-releng/scriptworker-scripts, but not mozilla-releng/scriptworker-scripts/balrogscript on its own.
Currently each scriptworker-scripts 'coveralls' command fails with the error message:
coveralls.exception.CoverallsException: Not on TravisCI. You have to provide either repo_token in .coveralls.yml or set the COVERALLS_REPO_TOKEN env var.
This does not cause a job failure (because of the leading hyphens in the main tox.ini), but you can see the tox taskcluster logs for details. The repo token can be found on coveralls.io. The Balrog project provides an example of specifying COVERALLS_REPO_TOKEN in a taskcluster project:
https://github.com/mozilla-releng/balrog/blob/main/.taskcluster.yml
Open questions:
-
Can we continue to call coveralls for each script, or do we need to call coveralls just once for scriptworker-scripts after each script has updated its coverage data?
-
Is there a way to track coverage per script, or do we just get one badge and report per repo? Can we live with that?
- Ngôn ngữ chính
- Python
- Star
- 16
- Fork
- 38
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 14
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mozilla-releng/scriptworker-scripts
-
Dependency Dashboard Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
treescript
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
mozilla-releng/scriptworker-scripts#1055 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
mozilla-releng/scriptworker-scripts#994 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
mozilla-releng/scriptworker-scripts#980 · 1 bình luận ·
Tất cả issue của mozilla-releng/scriptworker-scripts
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stephrobert/dsoxlab#238 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
sublimehq/package_control#1780 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
nwg-piotr/nwg-displays#145 ·