This repository has been archived by the owner on May 14, 2024. It is now read-only.
Add integration test for PasswordPolicyControl #407
This file contains 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: '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-08-15 | |
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 |