Skip to content

Commit

Permalink
Use prool for tests instead of docker
Browse files Browse the repository at this point in the history
  • Loading branch information
plusminushalf committed Dec 31, 2024
1 parent 877c909 commit cebc081
Show file tree
Hide file tree
Showing 25 changed files with 2,031 additions and 317 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,8 @@ jobs:
uses: ./.github/actions/install-dependencies

- name: Install test dependencies
run: cd test/e2e && pnpm install .

- name: Start Docker
run: docker compose -f "test/e2e/docker-compose.yml" up -d
run: pnpm install .

- name: Start tests
run: cd test/e2e && pnpm run test:ci
run: pnpm run test:ci

- name: Stop containers
if: always()
run: docker compose -f "test/e2e/docker-compose.yml" down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"build:esm": "pnpm -r run build:esm",
"start": "node src/lib/cli/alto.js run",
"dev": "nodemon --ext ts,js,json --watch src --exec DOTENV_CONFIG_PATH=$(pwd)/.env ts-node --project src/tsconfig.json -r tsconfig-paths/register src/cli/alto.ts run",
"test": "pnpm -r --workspace-concurrency 1 test --verbose=true",
"test": "pnpm --filter e2e run test",
"test:ci": "pnpm --filter e2e run test:ci",
"test:spec": "./test/spec-tests/run-spec-tests.sh",
"lint": "biome check .",
"lint:fix": "pnpm run lint --apply",
Expand Down
Loading

0 comments on commit cebc081

Please sign in to comment.