Skip to content

Commit 579b59c

Browse files
authored
Move pytest fixture test to .github folder (#6921)
The pytest fixture tests need to be isolated from the regular test suite to verify that they can function independently of the aiida-core test suite. Including them in the main test suite risks inadvertently reusing configurations, which previously led to bug PR #6904 fixed. However, moving these tests to the `src` would result in them being included in distribution packages, which is undesirable. Therefore, we relocate them to the `.github` directory, ensuring they remain part of the repository but are excluded from the shipped package.
1 parent 1f1dfb7 commit 579b59c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
File renamed without changes.

.github/workflows/ci-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ jobs:
175175
extras: tests
176176

177177
- name: Test legacy pytest fixtures
178-
run: pytest --cov aiida --noconftest src/aiida/manage/tests/test_pytest_fixtures.py
178+
run: pytest --cov aiida --noconftest .github/test_legacy_pytest_fixtures.py
179179

180180
- name: Upload coverage report
181181
if: github.repository == 'aiidateam/aiida-core'

0 commit comments

Comments
 (0)