wangzhibo
2026-05-09 53418655c061ac26f66058253f39200aced1ab1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: 'Integration Tests'
 
# Notes:
#  https://github.community/t5/GitHub-Actions/Github-Actions-services-not-reachable/m-p/30739/highlight/true#M538
 
on:
  push:
    branches:
      - master
      - next
  pull_request:
    branches:
      - master
      - next
 
jobs:
  baseline:
    name: Baseline Tests
    runs-on: ubuntu-latest
 
    services:
      openldap:
        image: ghcr.io/ldapjs/docker-test-openldap/openldap:2023-10-30
        ports:
          - 389:389
          - 636:636
        options: >
          --health-cmd "ldapsearch -Y EXTERNAL -Q -H ldapi:// -b ou=people,dc=planetexpress,dc=com -LLL '(cn=Turanga Leela)' cn"
 
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
        with:
          node-version: 'lts/*'
 
      - name: Install Packages
        run: npm install
      - name: Run Tests
        run: npm run test:integration