Skip to content

Add tracing crate

Add tracing crate #27

Workflow file for this run

name: Test Rust Project
on:
pull_request:
branches:
- master
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: 'true'
toolchain: stable
- name: Run tests
id: cargo_test
run: |
cargo test --test skeptic -- --test-threads=1
- name: Test Results
if: always()
run: |
if [ ${{ steps.cargo_test.outcome }} == 'success' ]; then
echo "✅ All tests passed!"
else
echo "❌ Some tests failed. Check the logs above for details."
exit 1
fi