diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index bdbd62bdc9f67e9ec8e2270bf6275961f433d041..f24d92a864a9f5e37f9c708c6c416a2a8608c264 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -71,7 +71,6 @@ jobs:
           DEX_POSTGRES_HOST: localhost
           DEX_POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
           DEX_ETCD_ENDPOINTS: http://localhost:${{ job.services.etcd.ports[2379] }}
-          DEX_LDAP_TESTS: 1
           DEX_LDAP_HOST: localhost
           DEX_LDAP_PORT: 389
           DEX_LDAP_TLS_PORT: 636
diff --git a/connector/ldap/ldap_test.go b/connector/ldap/ldap_test.go
index 1c2d595b74fbe6e09a66473f06b68fcffb4eb8e6..613839247fb576212c81092e79b1c6afcb96105c 100644
--- a/connector/ldap/ldap_test.go
+++ b/connector/ldap/ldap_test.go
@@ -13,8 +13,6 @@ import (
 	"github.com/dexidp/dex/connector"
 )
 
-const envVar = "DEX_LDAP_TESTS"
-
 // connectionMethod indicates how the test should connect to the LDAP server.
 type connectionMethod int32
 
@@ -527,13 +525,7 @@ func getenv(key, defaultVal string) string {
 //
 // The tests require LDAP to be runnning.
 // You can use the provided docker-compose file to setup an LDAP server.
-//
-// The DEX_LDAP_TESTS must be set to "1"
 func runTests(t *testing.T, connMethod connectionMethod, config *Config, tests []subtest) {
-	if os.Getenv(envVar) != "1" {
-		t.Skipf("%s not set. Skipping test (run 'export %s=1' to run tests)", envVar, envVar)
-	}
-
 	// Shallow copy.
 	c := *config