Skip to content

Commit

Permalink
[POC/CI] correct yml file separate front and back
Browse files Browse the repository at this point in the history
  • Loading branch information
helene-nguyen committed Apr 18, 2024
1 parent f7d2c67 commit 9aaaeb2
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,38 @@ jobs:
python -V
shell: alpine.sh --root {0}

- name: Install dependencies into Alpine and run test
- name: Install and build frontend dependencies into Alpine
run: |
cd opencti-platform/opencti-front
yarn install
yarn playwright install
yarn build
yarn test
shell: alpine.sh {0}

- name: Run linter and check TS
run: |
yarn lint
yarn check-ts
yarn test
- name: Run unit and integration tests
run: yarn test

- name: Run test e2e
run: |
yarn playwright install --with-deps
yarn test:e2e
- name: Install backend dependencies into Alpine
run: |
cd ../opencti-graphql
yarn install
yarn build
shell: alpine.sh {0}

- name: Run linter and check TS
run: |
yarn lint
yarn check-ts
yarn test:dev
shell: alpine.sh {0}
- name: Run unit and integration tests
run: yarn test:dev

0 comments on commit 9aaaeb2

Please sign in to comment.