From 650ae6fb8986cfa9289303017e8a06797a91c156 Mon Sep 17 00:00:00 2001 From: damies13 Date: Sun, 25 Feb 2024 15:42:00 +1000 Subject: [PATCH] hopefully this works --- .github/workflows/Regression_Tests.yaml | 27 +++++++++---------------- 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/.github/workflows/Regression_Tests.yaml b/.github/workflows/Regression_Tests.yaml index e3205cee0..82c7f3d8a 100644 --- a/.github/workflows/Regression_Tests.yaml +++ b/.github/workflows/Regression_Tests.yaml @@ -40,26 +40,17 @@ jobs: - name: Install Agent from dist W if: ${{ matrix.platform == 'windows-latest' }} shell: cmd - run: for %%f in (dist/rfswarm_agent-*.whl) do pip install %%f + run: for %%f in (rfswarm_agent-*.whl) do pip install %%f working-directory: ./dist - # run: | - # $files = GetChildItem –Filter rfswarm_agent-*.whl –Recurse - # echo $files - # for /r %f in (dist/rfswarm_agent-*.whl) do echo %f - # for /r %f in (dist/rfswarm_agent-*.whl) do pip install %f - - name: Install Manager from dist (for testing Issues) UM - shell: bash - # if: ${{ matrix.platform != 'windows-latest' }} - run: pip install dist/rfswarm_manager-*.whl - # - name: Install Manager from dist (for testing Issues) W - # if: ${{ matrix.platform == 'windows-latest' }} - # shell: cmd - # run: pip install dist/rfswarm_manager-*.whl - - # Tests will probably fail as some dependancies for testing will be missing - # just DB library? - # - run: pip install -r Tests/Regression/Agent/pip_requirements.txt + if: ${{ matrix.platform != 'windows-latest' }} + run: pip install rfswarm_manager-*.whl + working-directory: ./dist + - name: Install Manager from dist (for testing Issues) W + if: ${{ matrix.platform == 'windows-latest' }} + shell: cmd + run: for %%f in (rfswarm_manager-*.whl) do pip install %%f + working-directory: ./dist - run: pip install -r Tests/Regression/Agent/pip_requirements.txt