Skip to content

Commit

Permalink
Add mongo flag switch to enable/disable mongo tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeckman314 committed Jul 7, 2023
1 parent 1808409 commit 457ba06
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/compliance-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 457ba06

Please sign in to comment.