• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / ecosystem / 28653168513

03 Jul 2026 09:59AM UTC coverage: 67.789%. First build
28653168513

Pull #1220

github

web-flow
Merge b34b87cd5 into 90ebc8105
Pull Request #1220: Move status archived to unmaintaned

1 of 4 new or added lines in 2 files covered. (25.0%)

1610 of 2375 relevant lines covered (67.79%)

0.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

42.86
/ecosystem/validation/test_github.py
1
# This code is part of Qiskit.
2
#
3
# (C) Copyright IBM 2023.
4
#
5
# This code is licensed under the Apache License, Version 2.0. You may
6
# obtain a copy of this license in the LICENSE.txt file in the root directory
7
# of this source tree or at https://www.apache.org/licenses/LICENSE-2.0.
8
#
9
# Any modifications or derivative works of this code must retain this
10
# copyright notice, and modified files need to carry a notice indicating
11
# that they have been altered from the originals.
12

13
"""Validations involving section member.github"""
1✔
14

15
# pylint: disable=invalid-name
16

17
import pytest
1✔
18

19

20
@pytest.fixture(autouse=True)
1✔
21
def skip_github(member):
1✔
22
    """Skip if no github section"""
23
    if member.github is None:
×
24
        pytest.skip("No github section")
×
25
    yield member
×
26

27

28
def test_G05(member):
1✔
29
    """GitHub repository is archived?"""
30
    if hasattr(member.github, "archived") and member.github.archived:
×
31
        assert hasattr(
×
32
            member, "maturity"
33
        ), "GitHub repository archived, so member.maturity must exist and be `as-is`"
34
        assert member.maturity in [
×
35
            "as-is",
36
            "unmaintaned",
37
        ], "GitHub repository archived and member.maturity is not `as-is` or `unmaintaned`"
38

39
def test_G08(member):
1✔
40
    """Unmaintaned projects should archive their GitHub repository"""
NEW
41
    if member.maturity in ["deprecated", "unmaintaned"]:
×
NEW
42
        assert (
×
43
            member.github.archived
44
        ), "unsupported project should have an archived GitHub org"
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc