diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml deleted file mode 100644 index b3558e2..0000000 --- a/.github/workflows/node.js.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: CI - -on: - push: - branches: [master] - pull_request: - branches: [master] - -jobs: - test: - runs-on: ubuntu-latest - timeout-minutes: 10 - - strategy: - matrix: - node-version: [18.x, 20.x] - - steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - run: npm install - - run: npm test diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..d254f8d --- /dev/null +++ b/.woodpecker.yaml @@ -0,0 +1,13 @@ +matrix: + NODE_VERSION: + - 18 + - 20 + +steps: + test: + when: + event: [push] + image: node:${NODE_VERSION} + commands: + - npm install + - npm test \ No newline at end of file diff --git a/test/log/delete.test.js b/test/log/delete.test.js index 6bcefa4..36543ee 100644 --- a/test/log/delete.test.js +++ b/test/log/delete.test.js @@ -141,7 +141,7 @@ test('Log deletes', async (t) => { await p(log.close)() }) - await t.test('Many deleted records', { timeout: 60e3 }, async (t) => { + await t.test('Many deleted records', { timeout: 2 * 60e3 }, async (t) => { const file = '/tmp/aaol-test-delete-many' + Date.now() + '.log' const log = Log(file, { blockSize: 64 * 1024 })