Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable pytest test runs on CI #2947

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

correctmost
Copy link
Contributor

PR Description:

This commit also fixes fixture and test issues that caused failures.

This commit also fixes fixture and test issues that caused failures.
@correctmost correctmost requested a review from Torxed as a code owner November 27, 2024 03:47
assert arch_config == ArchConfig(
version='3.0.0',
version=archinstall.__version__,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will break the tests every time there's a new version released

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, the fixture specifies 2.8.6, so it seems like the latest version is being substituted elsewhere. Here's the failure I saw when I kept 3.0.0 in place:

E         Drill down into differing attribute version:
E           version: '3.0.1' != '3.0.0'
E           - 3.0.0
E           ?     ^
E           + 3.0.1
E           ?     ^

Copy link
Collaborator

Choose a reason for hiding this comment

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

Right, I'll need to have a deeper look into it. Lets get it in for now as the PR is a good improvement, thanks for that

@svartkanin svartkanin merged commit e49a679 into archlinux:master Nov 27, 2024
8 checks passed
@correctmost correctmost deleted the cm/run-pytest-ci-checks branch November 27, 2024 06:45
castillofrancodamian pushed a commit to castillofrancodamian/archinstall that referenced this pull request Dec 21, 2024
This commit also fixes fixture and test issues that caused failures.
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