Remove dev dependencies when running blackbox tests (#16271)

* Remove dev dependencies when running blackbox tests

* Install dev dependencies in workspace root to run tests

* Shift dependency to see if tests fail

* Revert dependency shifting test

* Remove specifying of shell
This commit is contained in:
ian
2022-11-03 21:15:48 +08:00
committed by GitHub
parent 3e96584bad
commit 7899f6a267
3 changed files with 19 additions and 1 deletions

View File

@@ -42,6 +42,15 @@ jobs:
- name: Prepare
uses: ./.github/actions/prepare
- name: Prune Dependencies
run: find . -type d -name node_modules -prune -exec rm -rf {} \;
- name: Install Production Dependencies
run: pnpm install --prod
- name: Install Root Dev Dependencies
run: pnpm install -w --dev
- name: Install Oracle client
if: matrix.vendor == 'oracle'
run: |

View File

@@ -30,6 +30,15 @@ jobs:
- name: Prepare
uses: ./.github/actions/prepare
- name: Prune Dependencies
run: find . -type d -name node_modules -prune -exec rm -rf {} \;
- name: Install Production Dependencies
run: pnpm install --prod
- name: Install Root Dev Dependencies
run: pnpm install -w --dev
- name: Start Services
run: docker compose -f tests-blackbox/docker-compose.yml up auth-saml -d --quiet-pull --wait