Skip to content

Commit

Permalink
fix(ci): start mongo in coverage CI
Browse files Browse the repository at this point in the history
fix(ci): start mongo in coverage CI

Co-authored-by: Alex Coats <alexandcoats@gmail.com>
  • Loading branch information
grtlr and Alex Coats authored Sep 9, 2022
1 parent ad91bf3 commit cbca6a3
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
branches:
- main
paths:
- '**.rs'
- '**.toml'
- '.github/workflows/coverage.yml'
- '.github/workflows/scripts/coverage.sh'
- "**.rs"
- "**.toml"
- ".github/workflows/coverage.yml"
- ".github/workflows/scripts/coverage.sh"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -42,6 +42,12 @@ jobs:
crate: rustfilt
version: 0.2.1

- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.7.0
with:
mongodb-version: ${{ inputs.mongodb }}
mongodb-replica-set: test-rs

- name: Run test coverage
run: bash .github/workflows/scripts/coverage.sh

Expand Down

0 comments on commit cbca6a3

Please sign in to comment.