chore(eslint): added hooks dependecy dev #3507
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: Linux Tests | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main, 'release/v*'] | |
| pull_request: | |
| branches: [main, 'release/v*'] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| unit-test: | |
| name: Unit Tests (Linux) | |
| timeout-minutes: 60 | |
| runs-on: | |
| - ubuntu-latest | |
| - self-hosted | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node Dependencies | |
| uses: ./.github/actions/common/setup-node-deps | |
| - name: Run Unit Tests | |
| uses: ./.github/actions/tests/run-unit-tests | |
| cli-test: | |
| name: CLI Tests (Linux) | |
| runs-on: | |
| - ubuntu-latest | |
| - self-hosted | |
| permissions: | |
| checks: write | |
| pull-requests: write | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node Dependencies | |
| uses: ./.github/actions/common/setup-node-deps | |
| - name: Run CLI Tests | |
| uses: ./.github/actions/tests/run-cli-tests | |
| - name: Publish Test Report | |
| uses: EnricoMi/publish-unit-test-result-action@v2 | |
| if: always() | |
| with: | |
| check_name: CLI Test Results (Linux) | |
| files: packages/bruno-tests/collection/junit.xml | |
| comment_mode: always | |
| check_run: false | |
| e2e-test: | |
| name: Playwright E2E Tests (Linux) ${{ matrix.shard }}/${{ matrix.shardTotal }} | |
| timeout-minutes: 240 | |
| runs-on: | |
| - ubuntu-24.04 | |
| - self-hosted | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| shardTotal: [4] | |
| shard: [1, 2, 3, 4] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install System Dependencies (Ubuntu) | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get --no-install-recommends install -y \ | |
| libglib2.0-0 libnss3 libdbus-1-3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libgtk-3-0 libasound2t64 \ | |
| xvfb \ | |
| gsettings-desktop-schemas dbus-x11 | |
| - name: Setup Node Dependencies | |
| uses: ./.github/actions/common/setup-node-deps | |
| - name: Configure Chrome Sandbox | |
| run: | | |
| CHROME_SANDBOX="${GITHUB_WORKSPACE}/node_modules/electron/dist/chrome-sandbox" | |
| if [[ -f "$CHROME_SANDBOX" ]]; then | |
| sudo chown root "$CHROME_SANDBOX" | |
| sudo chmod 4755 "$CHROME_SANDBOX" | |
| fi | |
| - name: Run E2E Tests | |
| uses: ./.github/actions/tests/run-e2e-tests | |
| with: | |
| os: ubuntu | |
| shard: ${{ matrix.shard }}/${{ matrix.shardTotal }} | |
| - name: Upload blob report | |
| uses: actions/upload-artifact@v6 | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: blob-report-linux-${{ matrix.shard }} | |
| path: blob-report/ | |
| retention-days: 7 | |
| e2e-test-report: | |
| name: Merge Playwright Reports (Linux) | |
| if: ${{ !cancelled() }} | |
| needs: [e2e-test] | |
| runs-on: | |
| - ubuntu-latest | |
| - self-hosted | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node Dependencies | |
| uses: ./.github/actions/common/setup-node-deps | |
| with: | |
| skip-build: 'true' | |
| - name: Download blob reports | |
| uses: actions/download-artifact@v6 | |
| with: | |
| path: all-blob-reports | |
| pattern: blob-report-linux-* | |
| merge-multiple: true | |
| - name: Merge into HTML report | |
| run: npx playwright merge-reports --config=playwright.merge.config.ts ./all-blob-reports | |
| - name: Upload merged Playwright report | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: playwright-report-linux | |
| path: playwright-report/ | |
| retention-days: 30 | |
| ssl-test: | |
| name: SSL Tests (Linux) | |
| timeout-minutes: 60 | |
| runs-on: | |
| - ubuntu-latest | |
| - self-hosted | |
| permissions: | |
| checks: write | |
| pull-requests: write | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node Dependencies | |
| uses: ./.github/actions/common/setup-node-deps | |
| - name: Setup Feature Dependencies | |
| uses: ./.github/actions/ssl/linux/setup-feature-specific-deps | |
| - name: Setup CA Certificates | |
| uses: ./.github/actions/ssl/linux/setup-ca-certs | |
| - name: Setup Client Certificates | |
| uses: ./.github/actions/ssl/linux/setup-client-certs | |
| - name: Run Basic SSL CLI Tests | |
| uses: ./.github/actions/ssl/linux/run-basic-ssl-cli-tests | |
| - name: Run Custom CA Certs CLI Tests | |
| uses: ./.github/actions/ssl/linux/run-custom-ca-certs-cli-tests | |
| - name: Run Client Certs CLI Tests | |
| uses: ./.github/actions/ssl/linux/run-client-certs-cli-tests | |
| - name: Run Custom CA Certs E2E Tests | |
| uses: ./.github/actions/ssl/linux/run-ssl-e2e-tests | |
| oauth1-tests: | |
| name: OAuth 1.0 Auth Tests (Linux) | |
| timeout-minutes: 60 | |
| runs-on: | |
| - ubuntu-latest | |
| - self-hosted | |
| permissions: | |
| checks: write | |
| pull-requests: write | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node Dependencies | |
| uses: ./.github/actions/common/setup-node-deps | |
| - name: Setup Feature Dependencies | |
| uses: ./.github/actions/auth/oauth1/linux/setup-feature-specific-deps | |
| - name: Run Auth E2E Tests | |
| uses: ./.github/actions/auth/oauth1/linux/run-auth-e2e-tests | |
| - name: Start Test Server | |
| uses: ./.github/actions/auth/oauth1/linux/start-test-server | |
| - name: Run OAuth1 CLI Tests | |
| uses: ./.github/actions/auth/oauth1/linux/run-oauth1-cli-tests |