diff --git a/.github/workflows/compliance-test.yaml b/.github/workflows/compliance-test.yaml index 3c34696bf..ee813cc13 100644 --- a/.github/workflows/compliance-test.yaml +++ b/.github/workflows/compliance-test.yaml @@ -50,7 +50,7 @@ jobs: strategy: matrix: version: [1.0.0, 1.1.0] - flags: ["", "--config `pwd`/tests/mongo.config.yml"] + db: ["default", "mongo"] needs: build runs-on: ubuntu-latest steps: @@ -65,8 +65,12 @@ jobs: - name: Start Funnel server run: | + if [ ${{ matrix.db }} = "mongo" ]; then + make start-mongodb + FLAGS="--config `pwd`/tests/mongo.config.yml" + fi chmod +x funnel - ./funnel server run "${{ matrix.flags }}" &> funnel.logs & + ./funnel server run $FLAGS &> funnel.logs & - uses: actions/checkout@v3 with: