Skip to content

Commit

Permalink
fix: install e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
yonadaaa committed Feb 5, 2024
1 parent 4256219 commit 742c4c2
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 7 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Tests

on:
push:
branches:
- main
pull_request:

jobs:
test:
name: Run tests
runs-on: ubuntu-latest-16-cores
services:
postgres:
image: postgres:12.1-alpine
ports:
- 5432:5432
# needed because the postgres container does not provide a healthcheck
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup
uses: ./.github/actions/setup

- name: Build
uses: ./.github/actions/build

- name: Install end-to-end testing dependencies
working-directory: ./e2e
run: pnpm install

- name: Generate test data
working-directory: ./e2e
run: pnpm run generate-test-data-records

- name: Run benchmarks
run: pnpm run bench
7 changes: 0 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,3 @@ jobs:

- name: Outdated files, run `sort-package-json` and commit them
uses: ./.github/actions/require-empty-diff

- name: Generate test data
working-directory: ./e2e
run: pnpm run generate-test-data-records

- name: Run benchmarks
run: pnpm run bench

0 comments on commit 742c4c2

Please sign in to comment.