mirror of
https://github.com/KhizarImran/backtestingfx.git
synced 2026-07-27 20:17:44 +00:00
test: cover close_position and short-side SL/TP; add CI
Adds the two remaining broker test gaps (close_position by id, short position stop-loss fill). CI runs cargo check + cargo test on push/PR to main.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- run: cargo check
|
||||
- run: cargo test
|
||||
Reference in New Issue
Block a user