Skip to content

Commit

Permalink
fix(ci): fix coverage CI and update mongo version (#658)
Browse files Browse the repository at this point in the history
* Fix coverage CI and update mongo version

* Update mongo gh action

* Ignore documentation tests

Co-authored-by: Jochen Görtler <grtlr@users.noreply.github.com>
Co-authored-by: Jochen Görtler <jochen.goertler@iota.org>
  • Loading branch information
3 people committed Sep 13, 2022
1 parent 7fd9808 commit e231e09
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_test_int.yml
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: Swatinem/rust-cache@v1

- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.7.0
uses: supercharge/mongodb-github-action@1.8.0
with:
mongodb-version: ${{ inputs.mongodb }}
mongodb-replica-set: test-rs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -2,14 +2,14 @@ name: ci

on:
push:
paths-ignore:
paths-ignore:
- "**.md"
- "documentation/**"
- "docker/**"
branches:
- main
pull_request:
paths-ignore:
paths-ignore:
- "**.md"
- "documentation/**"
- "docker/**"
Expand All @@ -27,7 +27,7 @@ jobs:
test-int:
name: "integration tests"
uses: ./.github/workflows/_test_int.yml
with: { os: ubuntu-latest, rust: stable, mongodb: "5.0" }
with: { os: ubuntu-latest, rust: stable, mongodb: "6.0" }

format:
uses: ./.github/workflows/_fmt.yml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Expand Up @@ -43,9 +43,9 @@ jobs:
version: 0.2.1

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

- name: Run test coverage
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test-iota-docs-build.yml
Expand Up @@ -4,9 +4,12 @@ on:
push:
branches:
- main
paths:
- "documentation/**"
pull_request:
branches:
- main
paths:
- "documentation/**"


concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit e231e09

Please sign in to comment.