Skip to content

Conversation

@Drag0nSlay
Copy link

Summary

This PR adds a Docker-based GitHub Actions workflow to run the test
suite inside the same Debian-based Python image used in production.

This helps catch environment-specific issues that differ from
ubuntu-latest CI runs.

Fixes #517

Copy link
Member

Choose a reason for hiding this comment

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

Why do we need this change?

Copy link
Author

Choose a reason for hiding this comment

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

These files are required to support the existing GitHub OSV tests when running the test suite inside the Docker-based CI.
When tests are executed in the Debian-based python:3.9 image (used in production), the GitHub OSV importer returns an additional valid test case that was not previously covered in the existing fixtures. This causes the OSV test to fail inside Docker, even though it passes on ubuntu-latest.

Copy link
Member

@keshav-space keshav-space Jan 22, 2026

Choose a reason for hiding this comment

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

@Drag0nSlay we already have these test files https://github.com/aboutcode-org/vulnerablecode/tree/96a52e82a8beb433e9701a1275aa5a28bc16221e/vulnerabilities/tests/test_data/github_osv
Your main branch is 2 months old please pull the latest change and rebase your PR.

Copy link
Author

Choose a reason for hiding this comment

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

Okay, Branch Updated. Thanks

Copy link
Member

Choose a reason for hiding this comment

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

Why do we need this change?

Copy link
Author

Choose a reason for hiding this comment

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

No production code is modified; this change only extends test coverage to ensure consistent behavior across environments.

Copy link
Member

@keshav-space keshav-space Jan 22, 2026

Choose a reason for hiding this comment

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

No production code is modified; this change only extends test coverage to ensure consistent behavior across environments.

This is vague response, please do not waste the time of maintainers with copy pasted LLM response and code.

Signed-off-by: Drag0nSlay <ak5518786@gmail.com>
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.

Add tests for Docker

2 participants