Skip to content

Commit 3dd00d5

Browse files
committed
feat: added nats to workflow
1 parent e4e015c commit 3dd00d5

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
jobs:
77
taurus:
88
runs-on: ubuntu-latest
9+
services:
10+
nats:
11+
image: nats:2
12+
ports:
13+
- 4222:4222
914

1015
steps:
1116
- uses: actions/checkout@v6
@@ -15,8 +20,11 @@ jobs:
1520
run: PATH=${{ runner.temp }}/proto/bin:$PATH cargo build
1621
env:
1722
RUST_BACKTRACE: 'full'
18-
- name: Run Tests
19-
run: cargo test
20-
- name: Run Test Suite
23+
- name: Run workspace tests
24+
run: cargo test --workspace --all-targets
25+
- name: Run NATS test execution request tests
26+
run: cargo test -p taurus test_execution_request -- --ignored --nocapture
27+
env:
28+
NATS_URL: nats://127.0.0.1:4222
29+
- name: Run tests package flow suite
2130
run: cargo run --package tests
22-

0 commit comments

Comments
 (0)