Skip to content

Commit

Permalink
feat(ci): 👷 Add MongoDB service to CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Srylax committed May 7, 2024
1 parent b45e87b commit 57e3b3f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest
services:
mongo:
image: mongo
ports:
- 27017:27017
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -46,9 +51,36 @@ jobs:
run: cargo test --no-run
- name: Test
run: cargo hack test --feature-powerset
examples:
name: Examples
runs-on: ubuntu-latest
services:
mongo:
image: mongo
ports:
- 27017:27017
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Run example default
run: cargo run --example default --verbose
- name: Run example multisort
run: cargo run --example multisort --verbose
- name: Run example regex
run: cargo run --example regex --verbose
msrv:
name: "Check MSRV"
runs-on: ubuntu-latest
services:
mongo:
image: mongo
ports:
- 27017:27017
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions committed.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
style = "conventional"
ignore_author_re = "(dependabot|renovate)"
merge_commit = false

0 comments on commit 57e3b3f

Please sign in to comment.