Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge experimenting branch into main #1

Merged
merged 37 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
3368da6
Closure-based assertions
TehPers Aug 6, 2024
575c215
Move to trait-based assertions
TehPers Aug 8, 2024
3196833
Simplify failure messages
TehPers Aug 8, 2024
3b0a795
Add some assertions/modifiers, clean type params
TehPers Aug 9, 2024
4b4f474
Improve panic messages by changing source of panic
TehPers Aug 9, 2024
f44eb9d
Simplify __expect_inner
TehPers Aug 9, 2024
8eeadd6
Add docs for creating custom assertions/modifiers
TehPers Aug 9, 2024
d6de998
core -> std
TehPers Aug 10, 2024
eee9d89
Simplify modifier functions
TehPers Aug 10, 2024
df517cb
Add #[inline]
TehPers Aug 10, 2024
8ae6fd3
Test for short-circuiting
TehPers Aug 10, 2024
b936c44
Delete old experiments folder
TehPers Aug 10, 2024
35b51b5
Rename AssertionResult -> AssertionOutput
TehPers Aug 10, 2024
c523b82
Some doc updates
TehPers Aug 10, 2024
97a89db
Simply some repetitive tests using test-case
TehPers Aug 11, 2024
386407e
Add try_unwrap
TehPers Aug 11, 2024
47e0327
Add support for non-clone subjects in all/any
TehPers Aug 11, 2024
ce29c41
Add install instructions to docs
TehPers Aug 11, 2024
7d8e7a1
Update error to compile without colors feature
TehPers Aug 11, 2024
50326e6
Cleanup some cfg attrs and remove unused code
TehPers Aug 11, 2024
2f27978
Add integration tests (simple, error messages)
TehPers Aug 11, 2024
42a843c
Fix clippy warnings
TehPers Aug 11, 2024
b72a7f2
Add CI workflow
TehPers Aug 11, 2024
345f12b
Add license files and note to README
TehPers Aug 11, 2024
f8be080
Remove extra borrow on SourceLoc
TehPers Aug 11, 2024
2874be7
Disable publishing to avoid accidential publish
TehPers Aug 11, 2024
8711c04
Simplfy context frame name collection
TehPers Aug 11, 2024
edc17dc
Restructure macro to provide better completions
TehPers Aug 11, 2024
bdc0112
Remove extra branch from __expect_inner
TehPers Aug 12, 2024
c29b369
Remove extra braces
TehPers Aug 12, 2024
e8240e6
Change macro to work with extension methods
TehPers Aug 12, 2024
608f198
Add some attributes and box a value for clippy
TehPers Aug 12, 2024
d349b97
Fix and improve doc comments
TehPers Aug 13, 2024
ced63ae
Unify type param order for annotate types
TehPers Aug 13, 2024
15968af
Add to_{start,end}_with, chars
TehPers Aug 13, 2024
7d0fc48
Remove outdated test
TehPers Aug 13, 2024
bb56b14
Add a super conservative msrv
TehPers Aug 13, 2024
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
65 changes: 65 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: CI
on:
pull_request:
push:
branches:
- main

env:
CARGO_TERM_COLOR: always

jobs:
format:
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: rustfmt
- name: Check formatting
run: cargo fmt --check

lint:
name: Lint
needs:
- format
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup toolchain
uses: dtolnay/rust-toolchain@clippy
- name: Run clippy
run: cargo clippy --tests -- -D warnings

test:
name: Test (${{ matrix.name }})
needs:
- format
- lint
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
name:
- all features
- no features
include:
- name: all features
flags: ""
- name: no features
flags: --no-default-features
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: rustfmt
- name: Run tests
run: cargo test --verbose
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"recommendations": [
"serayuzgur.crates",
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml"
]
Expand Down
Loading
Loading