Browse Source

Improve testing (#293)

* Run workflows every Sunday

* Remove failing seed list test
Andreas Braun 3 years ago
parent
commit
248d60e15c

+ 3 - 0
.github/workflows/coding-standards.yml

@@ -7,6 +7,9 @@ on:
   push:
     branches:
       - "*.x"
+  schedule:
+    # Run workflow on every Sunday
+    - cron: '25 5 * * 0'
 
 jobs:
   coding-standards:

+ 3 - 0
.github/workflows/tests.yml

@@ -7,6 +7,9 @@ on:
   push:
     branches:
       - "*.x"
+  schedule:
+    # Run workflow on every Sunday
+    - cron: '25 5 * * 0'
 
 jobs:
   verification:

+ 0 - 3
tests/Alcaeus/MongoDbAdapter/Mongo/MongoClientTest.php

@@ -23,9 +23,6 @@ class MongoClientTest extends TestCase
         yield ['default', sprintf('mongodb://%s:%d', \MongoClient::DEFAULT_HOST, \MongoClient::DEFAULT_PORT)];
         yield ['localhost', 'mongodb://localhost'];
         yield ['mongodb://localhost', 'mongodb://localhost'];
-        if (version_compare(phpversion('mongodb'), '1.4.0', '>=')) {
-            yield ['mongodb+srv://foo.example.com', 'mongodb+srv://foo.example.com'];
-        }
     }
 
     public function testSerialize()