-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add bsky-sdk * chore: Tweak * Add moderation tests * Add tests, add tests * Implement blocking behavior * Implement muted behaviors * Complete behaviors tests * Add Hash to api types * WIP: Add BskyAgent.moderator() * Add interpret_label_value_definition * Add workflows * Add tests::custom_labels * Add moderation for mutewords * Add moderation::tests::quoteposts * Fix warnings * Add labels * Add rich_text * Add RichText::segment, add tests * WIP: Add RichText::detect_facets * Add link detection, add tests * Implement tag detection * Add tests for has_muted_word * Update tests * Add default-client feature * Update interface, and tests * Add docs * Add docs for agent * Add docs * Ready for publish
- Loading branch information
Showing
42 changed files
with
9,205 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: bsky-sdk | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build | ||
run: | | ||
cargo build -p bsky-sdk --verbose | ||
cargo build -p bsky-sdk --verbose --no-default-features | ||
cargo build -p bsky-sdk --verbose --no-default-features --features default-client | ||
cargo build -p bsky-sdk --verbose --no-default-features --features rich-text | ||
cargo build -p bsky-sdk --verbose --all-features | ||
- name: Run tests | ||
run: | | ||
cargo test -p bsky-sdk | ||
cargo test -p bsky-sdk --lib --no-default-features | ||
cargo test -p bsky-sdk --lib --no-default-features --features default-client | ||
cargo test -p bsky-sdk --lib --no-default-features --features rich-text | ||
cargo test -p bsky-sdk --lib --all-features |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.