First commit
This commit is contained in:
39
node_modules/ldapjs/.github/workflows/integration.yml
generated
vendored
Normal file
39
node_modules/ldapjs/.github/workflows/integration.yml
generated
vendored
Normal file
@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user