Skip to content

test(integration/gerrit): add gerrit integration tests #9

test(integration/gerrit): add gerrit integration tests

test(integration/gerrit): add gerrit integration tests #9

name: Gerrit Integration Tests
on:
push:
branches:
- main
- next
- maint/**
paths:
- 'lib/modules/platform/gerrit/**'
- 'lib/util/http/gerrit.ts'
- 'test/integration/gerrit/**'
- 'package.json'
- 'pnpm-lock.yaml'
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
paths:
- 'lib/modules/platform/gerrit/**'
- 'lib/util/http/gerrit.ts'
- 'test/integration/gerrit/**'
- 'package.json'
- 'pnpm-lock.yaml'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
env:
NODE_VERSION: 24
jobs:
gerrit-integration:
name: Gerrit integration tests
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
show-progress: false
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
node-version: ${{ env.NODE_VERSION }}
os: ${{ runner.os }}
- name: Run Gerrit integration tests
run: pnpm test-integration:gerrit