123456789101112131415161718192021222324252627282930313233343536373839 |
- 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
|