Skip to content

Commit

Permalink
Move user install tests to after global origen install
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyeng committed Nov 13, 2023
1 parent 9af9274 commit 1585119
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/regression_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,6 @@ jobs:
if: matrix.os == 'windows-latest'
run: mv rust/origen/target/debug/origen.exe python/origen/origen/__bin__/bin

- name: Run User-Global Invocation Tests
working-directory: test_apps/no_workspace
run: pytest test_user_install.py::TestUserInstall -vv

# TODO GA: Regressions: not sure why, but the tmp directory in origen_metal causes some issues
# For now, just removing it.
- name: Remove origen_metal tmp Directory
Expand All @@ -338,6 +334,10 @@ jobs:
if: matrix.os == 'windows-latest'
run: where.exe origen

- name: Run User-Global Invocation Tests
working-directory: test_apps/no_workspace
run: pytest test_user_install.py::TestUserInstall -vv

# Should be no pyprojects in the root so far. Start with no-workspace tests
- name: Run No-Workspace-No-Plugins Tests
working-directory: test_apps/no_workspace
Expand Down
1 change: 1 addition & 0 deletions test_apps/no_workspace/test_user_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def set_params(cls):
cls.move_pyproject = False
cls.invocation = PyProjectSrc.UserGlobal
cls.file_based_evals = True
cls.cli_dir = cls.site_cli_dir

@classmethod
def setup_method(cls):
Expand Down

0 comments on commit 1585119

Please sign in to comment.