1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-31 07:33:28 +00:00

[PM-26671] Google workspace integration tests (#894)

Add tests for Google Workspace - not enabled in CI yet
This commit is contained in:
Thomas Rittson
2025-10-28 11:31:02 +10:00
committed by GitHub
parent daeb96713f
commit fe01b49df1
26 changed files with 259 additions and 37 deletions

View File

@@ -8,14 +8,14 @@ on:
paths:
- ".github/workflows/integration-test.yml" # this file
- "src/services/ldap-directory.service*" # we only have integration for LDAP testing at the moment
- "./openldap/**/*" # any change to test fixtures
- "./utils/**/*" # any change to test fixtures
- "./docker-compose.yml" # any change to Docker configuration
- "./package.json" # dependencies
pull_request:
paths:
- ".github/workflows/integration-test.yml" # this file
- "src/services/ldap-directory.service*" # we only have integration for LDAP testing at the moment
- "./openldap/**/*" # any change to test fixtures
- "./utils/**/*" # any change to test fixtures
- "./docker-compose.yml" # any change to Docker configuration
- "./package.json" # dependencies
permissions:
@@ -55,11 +55,11 @@ jobs:
sudo apt-get update
sudo apt-get -y install mkcert
- name: Setup integration tests
- name: Setup LDAP integration tests
run: npm run test:integration:setup
- name: Run integration tests
run: npm run test:integration --coverage
- name: Run LDAP integration tests
run: npx jest ldap-directory.service.integration.spec.ts --coverage
- name: Report test results
uses: dorny/test-reporter@dc3a92680fcc15842eef52e8c4606ea7ce6bd3f3 # v2.1.1