Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
44 changes: 41 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

on:
push:
branches: [main, master]
branches: [main, master, dev]
pull_request:
branches: [main, master]

Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
target/release/rustyochestrator
target/release/rustyochestrator.exe

# ── 3. Unit tests ───────────────────────────────────────────────────────────
# ── 3. Unit & Integration Tests ─────────────────────────────────────────────
test:
name: Tests
needs: lint
Expand All @@ -94,9 +94,33 @@ jobs:
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: cargo test
- name: Run all tests
run: cargo test --all

- name: Run pipeline tests
run: cargo test --test pipeline_tests

- name: Run cache tests
run: cargo test --test cache_tests

- name: Run github tests
run: cargo test --test github_tests

- name: Run executor tests
run: cargo test --test executor_tests

- name: Run scheduler tests
run: cargo test --test scheduler_tests

- name: Run config tests
run: cargo test --test config_tests

- name: Run reporter tests
run: cargo test --test reporter_tests

- name: Run errors tests
run: cargo test --test errors_tests

# ── 4. Integration smoke test ───────────────────────────────────────────────
integration:
name: Integration smoke test
Expand Down Expand Up @@ -129,3 +153,17 @@ jobs:

- name: Run GitHub Actions example (via rustyochestrator)
run: cargo run -- run examples/github_actions.yaml

- name: Validate pipeline without running
run: cargo run -- validate examples/pipeline.yaml

- name: List pipeline execution order
run: cargo run -- list examples/pipeline.yaml

- name: Print dependency graph
run: cargo run -- graph examples/pipeline.yaml

- name: Scaffold and validate a new pipeline
run: |
cargo run -- init /tmp/test_init_pipeline.yaml
cargo run -- validate /tmp/test_init_pipeline.yaml
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/target
./claude
./claude
.DS_Store
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ exclude = [".github", "examples", ".rustyochestrator"]
name = "rustyochestrator"
path = "src/main.rs"

[lib]
name = "rustyochestrator"
path = "src/lib.rs"

[dependencies]
tokio = { version = "1", features = ["full"] }
clap = { version = "4", features = ["derive"] }
Expand All @@ -32,3 +36,7 @@ reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-fe
dirs = "5"
indicatif = "0.17"

[dev-dependencies]
tokio = { version = "1", features = ["full"] }
serde_json = "1"
serde_yaml = "0.9"
Loading
Loading