Browse Source

update test action to user rqlite

Matthew R Kasun 3 years ago
parent
commit
67735b1bcc
1 changed files with 4 additions and 6 deletions
  1. 4 6
      .github/workflows/test.yml

+ 4 - 6
.github/workflows/test.yml

@@ -7,13 +7,11 @@ jobs:
   tests:
     runs-on: ubuntu-latest
     services:
-      mongodb:
-        image: mongo:4.2
+      rqlite:
+        image: rqlite/rqlite
         ports:
-          - 27017:27017
-        env:
-          MONGO_INITDB_ROOT_USERNAME: mongoadmin
-          MONGO_INITDB_ROOT_PASSWORD: mongopass
+            - 4001:4001
+            - 4002:4002
     steps:
       - name: Checkout
         uses: actions/checkout@v2