Skip to content

Commit

Permalink
Run CI on objc_foundation/block feature
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Sep 2, 2021
1 parent 4c453dd commit 50704af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,11 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
# TODO: `objc_foundation/block` feature doesn't work
args: --verbose --no-fail-fast --no-default-features

- name: Test w. exception and verify_message features
- name: Test with features
uses: actions-rs/cargo@v1
with:
command: test
# TODO: `objc_foundation/block` feature doesn't work
args: --verbose --no-fail-fast --no-default-features --features exception,verify_message
# Not using --all-features because some features are nightly-only
args: --verbose --no-fail-fast --features block,exception,verify_message
1 change: 1 addition & 0 deletions objc_foundation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ license = "MIT"
default = ["block"]

[dependencies]
# Feature provided as a way to cut down on dependencies
block = { path = "../objc_block", optional = true, version = "0.1" }
objc = { path = "../objc", version = "0.2.7" }
objc_id = { path = "../objc_id", version = "0.1.1" }

0 comments on commit 50704af

Please sign in to comment.