Skip to content

Commit

Permalink
ci: perepare server tests to be run from ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
neuodev committed Dec 1, 2024
1 parent 8c1b509 commit b9f14cc
Show file tree
Hide file tree
Showing 6 changed files with 255 additions and 20 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,12 @@ jobs:
run: pnpm install
- name: Build packages
run: pnpm build:server:pkgs
- name: Run models tests
run: pnpm run models test:ci
# - name: Run models tests
# run: pnpm run models test:ci
- name: Run server in the background
run: pnpm run server start:ci:test:server &
- name: Wait for the server to be ready
run: sleep 60
# run: pnpm run server wait
- name: Run server tests
run: pnpm run server test:ci
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
"luna": "pnpm --filter @litespace/luna",
"models": "pnpm --filter @litespace/models",
"sol": "pnpm --filter @litespace/sol",
"types": "pnpm --filter @litespace/types"
"types": "pnpm --filter @litespace/types",
"server": "pnpm --filter @litespace/server"
},
"devDependencies": {
"@types/node": "^22.7.5",
Expand Down
222 changes: 211 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b9f14cc

Please sign in to comment.