Skip to content

Commit

Permalink
Merge 8ce8475 into 0a48876
Browse files Browse the repository at this point in the history
  • Loading branch information
grtlr committed Jan 10, 2023
2 parents 0a48876 + 8ce8475 commit 1ef5c7c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/coverage.yml
Expand Up @@ -7,6 +7,8 @@ on:
paths:
- "**.rs"
- "**.toml"
pull_request:
paths:
- ".github/workflows/coverage.yml"
- ".github/workflows/scripts/coverage.sh"

Expand Down Expand Up @@ -46,10 +48,17 @@ jobs:
uses: supercharge/mongodb-github-action@1.8.0
with:
mongodb-version: "6.0"
mongodb-replica-set: test-rs
mongodb-username: root
mongodb-password: root
# FIXME: Currently we cannot configure this action to use authentication together with replica sets as mentioned here:
# https://github.com/supercharge/mongodb-github-action#with-authentication-mongodb---auth-flag
# Apparently, the solution is to write a script that sets up the user beforehand.
#mongodb-replica-set: test-rs

- name: Run test coverage
run: bash .github/workflows/scripts/coverage.sh
env:
MONGODB_CONN_STR: mongodb://root:root@localhost:27017

- uses: coverallsapp/github-action@v1.1.2
with:
Expand Down

0 comments on commit 1ef5c7c

Please sign in to comment.