build(deps-dev): bump duckdb from 1.4.2 to 1.4.3 in the minorandpatch group #539
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: LAPIS-SILO E2E Tests | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| schedule: | |
| # Don't run at minute 0 to avoid very busy times on GitHub Actions | |
| - cron: '13 4 * * 1-5' | |
| jobs: | |
| e2e-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - name: install dependencies | |
| run: npm clean-install | |
| - name: test | |
| run: | | |
| npm test 2>&1 | tee test_output.txt | |
| test ${PIPESTATUS[0]} -eq 0 | |
| env: | |
| LAPIS_TAG: latest | |
| SILO_TAG: latest | |
| - name: Upload test results | |
| uses: actions/upload-artifact@v5 | |
| if: always() | |
| with: | |
| name: test-results | |
| path: testsets/**/output | |
| - name: Retrieve logs | |
| if: failure() | |
| run: npm run dockerLogs | |
| - name: Upload logs | |
| uses: actions/upload-artifact@v5 | |
| if: failure() | |
| with: | |
| name: logs | |
| path: logs/ | |
| - name: Retrieve test results | |
| if: failure() && github.event_name == 'schedule' | |
| id: test_results | |
| run: | | |
| TRUNCATED_OUTPUT=$(cat test_output.txt | sed -r 's/\x1B\[[0-9;]*[mGKH]//g' | head -c 100000) | |
| echo "test_output<<EOF" >> $GITHUB_OUTPUT | |
| echo "$TRUNCATED_OUTPUT" >> $GITHUB_OUTPUT | |
| echo -e "\n\n[Output possibly truncated due to size limitations]" >> $GITHUB_OUTPUT | |
| echo "EOF" >> $GITHUB_OUTPUT | |
| - name: Notify failed build | |
| uses: jayqi/failed-build-issue-action@v1 | |
| if: failure() && github.event_name == 'schedule' | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| title-template: Test Run Failure (Automatic Report) | |
| body-template: | | |
| The end-to-end tests failed on the following run: | |
| Ref: ${{ github.ref }} | |
| Sha: ${{ github.sha }} | |
| Run number ${{ github.run_number }}, attempt ${{ github.run_attempt }} | |
| ${{ github.event.repository.url }}/actions/runs/${{ github.run_id }} | |
| <details> | |
| <summary>Expand to see test output</summary> | |
| ``` | |
| ${{ steps.test_results.outputs.test_output }} | |
| ``` | |
| </details> | |
| check-format: | |
| name: Check format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} | |
| - run: npm ci | |
| - run: npm run check-format | |
| check-types: | |
| name: Check types | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} | |
| - run: npm ci | |
| - run: npm run check-types |