Skip to content

Merge branch 'feat/bin-refactor' of https://github.com/bcnmy/reflux i… #28

Merge branch 'feat/bin-refactor' of https://github.com/bcnmy/reflux i…

Merge branch 'feat/bin-refactor' of https://github.com/bcnmy/reflux i… #28

Workflow file for this run

name: Test Suite
on: [pull_request, push]
jobs:
test:
name: cargo test
runs-on: ubuntu-latest
services:
mongodb:
image: mongo:6
ports:
- 27017:27017
options: >-
--health-cmd="mongosh --eval 'db.adminCommand({ ping: 1 })'"
--health-interval=30s
--health-timeout=10s
--health-retries=10
steps:
- uses: actions/checkout@v4
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Wait for MongoDB to be ready
run: |
echo "Waiting for MongoDB to be ready..."
until [ "`docker inspect -f {{.State.Health.Status}} mongodb`" == "healthy" ]; do
sleep 10
done
- name: Run Tests
run: cargo test --all-features