Skip to content

test: trigger tests#459

Closed
olivermeyer wants to merge 1 commit intomainfrom
test/trigger-tests
Closed

test: trigger tests#459
olivermeyer wants to merge 1 commit intomainfrom
test/trigger-tests

Conversation

@olivermeyer
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings March 4, 2026 16:28
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

@olivermeyer olivermeyer closed this Mar 4, 2026
@codecov
Copy link

codecov bot commented Mar 4, 2026

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
702 1 701 15
View the top 1 failed test(s) by shortest run time
tests.aignostics.qupath.gui_test::test_gui_run_qupath_install_to_inspect
Stack Traces | 68.8s run time
runner = <typer.testing.CliRunner object at 0x7efe3880f890>

    @pytest.fixture
    def qupath_save_restore(runner: CliRunner) -> Generator[None, None, None]:
        """Uninstall QuPath for clean state, restore after test if it was installed."""
        result = runner.invoke(cli, ["qupath", "uninstall"])
        assert result.exit_code in {0, 2}, (
            f"Unexpected exit code {result.exit_code} from 'qupath uninstall': {result.output}"
        )
        was_installed = result.exit_code == 0
        yield
        if was_installed:
            reinstall_result = runner.invoke(cli, ["qupath", "install"])
            if reinstall_result.exit_code != 0:
>               pytest.fail(
                    f"Failed to reinstall QuPath in qupath_save_restore fixture "
                    f"(exit code {reinstall_result.exit_code}). Output:\n{reinstall_result.output}"
                )
E               Failed: Failed to reinstall QuPath in qupath_save_restore fixture (exit code 1). Output:
E               Installing QuPath version 0.6.0 to ........./home/runner/.local/share/aignostics...
E               Downloading ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   0 bytes  ?  
E               Extracting  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   0 bytes  ?  
E               Failed to install QuPath version 0.6.0 at ........./home/runner/.local/share/aignostics: Failed to install QuPath v0.6.0 to '........./home/runner/.local/share/aignostics': Failed to download QuPath from https://github..../releases/download/v0.6.0/QuPath-v0.6.0-Linux.tar.xz.

.../aignostics/qupath/conftest.py:23: Failed

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 4, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants