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

Tests: Remove deprecated aiida/manage/tests/main module and move system tests #6163

Merged
merged 4 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .github/system_tests/test_ipython_magics.py

This file was deleted.

93 changes: 0 additions & 93 deletions .github/system_tests/test_profile_manager.py

This file was deleted.

52 changes: 0 additions & 52 deletions .github/system_tests/test_test_manager.py

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/ci-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,10 @@ jobs:

- name: Run test suite
env:
AIIDA_TEST_PROFILE: test_aiida
AIIDA_WARN_v3: 1
run:
.github/workflows/tests.sh
pytest --cov aiida --verbose tests -m 'not nightly'

- name: Upload coverage report
if: matrix.python-version == 3.9 && github.repository == 'aiidateam/aiida-core'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,10 @@ jobs:

- name: Run test suite
env:
AIIDA_TEST_PROFILE: test_aiida
AIIDA_WARN_v3: 1
run:
.github/workflows/tests.sh
pytest --cov aiida --verbose tests -m 'not nightly'

- name: Freeze test environment
run: pip freeze | sed '1d' | tee requirements-py-${{ matrix.python-version }}.txt
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/tests.sh

This file was deleted.

19 changes: 0 additions & 19 deletions aiida/manage/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,3 @@
"""
Testing infrastructure for easy testing of AiiDA plugins.
"""

# AUTO-GENERATED

# yapf: disable
# pylint: disable=wildcard-import

from .main import *

__all__ = (
'ProfileManager',
'TemporaryProfileManager',
'TestManager',
'TestManagerError',
'get_test_backend_name',
'get_test_profile_name',
'test_manager',
)

# yapf: enable
Loading
Loading