diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b0d641c..a7922c1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: Server_Side_Unit_Tests: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 @@ -35,7 +35,7 @@ jobs: pytest server Server_Side_Linting: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 diff --git a/pyproject.toml b/pyproject.toml index 0632dc5..a08b932 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ description = "" authors = ["Jarosenb "] [tool.poetry.dependencies] -python = "3.10.0" +python = "3.10.10" uvicorn = {extras = ["standard"], version = "^0.15.0"} fastapi = "^0.70.0" agavepy = "^0.9.5" diff --git a/server/main.py b/server/main.py index 10a29db..dba7cf5 100644 --- a/server/main.py +++ b/server/main.py @@ -32,7 +32,7 @@ def read_root(request: Request): def get_system_root(system: str) -> str: match system: case "designsafe.storage.default": - root_dir = "/corral-repl/tacc/NHERI/shared" + root_dir = "/ds-mydata" case "designsafe.storage.community": root_dir = "/corral-repl/tacc/NHERI/community" case "designsafe.storage.published": diff --git a/server/tests/test_utils.py b/server/tests/test_utils.py index 2c5d541..36ce32f 100644 --- a/server/tests/test_utils.py +++ b/server/tests/test_utils.py @@ -6,10 +6,7 @@ def test_get_system_root(): - assert ( - get_system_root("designsafe.storage.default") - == "/corral-repl/tacc/NHERI/shared" - ) + assert get_system_root("designsafe.storage.default") == "/ds-mydata" assert ( get_system_root("designsafe.storage.community") == "/corral-repl/tacc/NHERI/community"