Skip to content

adding github workflow #1

adding github workflow

adding github workflow #1

GitHub Actions / JUnit Test Report failed May 10, 2024 in 0s

28 tests run, 12 passed, 0 skipped, 16 failed.

Annotations

Check failure on line 15 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_periodic_measurement[Scd4xPowerMode.HIGH]

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 15 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_periodic_measurement[Scd4xPowerMode.LOW]

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 40 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_get_temperature_offset

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 52 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_set_temperature_offset[3.0]

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 52 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_set_temperature_offset[3.5]

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 52 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_set_temperature_offset[4.0]

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 69 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_get_sensor_altitude

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 79 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_set_sensor_altitude[200]

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 79 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_set_sensor_altitude[500]

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 79 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_set_sensor_altitude[700]

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 97 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_get_automatic_self_calibration

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 107 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_set_automatic_self_calibration[False]

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 107 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_set_automatic_self_calibration[True]

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 122 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_measure_single_shot

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 135 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_measure_single_shot_rht_only

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError

Check failure on line 148 in tests/scd4x/test_commands.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/scd4x/test_commands.py.test_sleep_mode

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function 'test_periodic_measurement[Scd4xPowerMode.HIGH]'>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config = <_pytest.config.Config object at 0x1053d1730>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:28: ValueError