-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
Add GIFs to CI via vhs-action #3810
Closed
Closed
Changes from 1 commit
Commits
Show all changes
213 commits
Select commit
Hold shift + click to select a range
6fb4289
Add vhs-action for boa_cli
nekevss 68c59ea
Compare GIFs in CI with ImageMagick
nekevss f5d050e
Bump rustls from 0.22.3 to 0.22.4 (#3821)
dependabot[bot] 0f38f21
Bump serde from 1.0.197 to 1.0.198 (#3823)
dependabot[bot] 7f079ae
Bump thiserror from 1.0.58 to 1.0.59 (#3824)
dependabot[bot] 0cc98fb
Bump proc-macro2 from 1.0.80 to 1.0.81 (#3826)
dependabot[bot] c9d914c
Bump syn from 2.0.59 to 2.0.60 (#3827)
dependabot[bot] 9ec0a13
Bump serde_json from 1.0.115 to 1.0.116 (#3825)
dependabot[bot] 6156768
Implement TryFromJs for Either<L, R> (#3822)
hansl 6ee208f
Decouple `Context` from `ByteCompiler` (#3829)
HalidOdat f469096
Bump either from 1.10.0 to 1.11.0 (#3835)
dependabot[bot] 1c8400a
Bump hashbrown from 0.14.3 to 0.14.5 (#3834)
dependabot[bot] 4452c03
Bump serde from 1.0.198 to 1.0.199 (#3833)
dependabot[bot] 6febf7e
Implement object keys access (#3832)
HalidOdat 3f6ee22
Implement Latin1 JsString (#3450)
HalidOdat 5af3f7c
Fix Rust 1.78.0 Clippy lints (#3838)
HalidOdat 12adec5
replace js_str with js_string (#3836)
getong 09c08c5
Switch from actions-rs/toolchain to dtolnay/rust-toolchain (#3845)
raskad ce57ff1
Bump num-traits from 0.2.18 to 0.2.19 (#3840)
dependabot[bot] c32e3cb
Bump serde from 1.0.199 to 1.0.201 (#3846)
dependabot[bot] 2fc85d0
Bump trybuild from 1.0.91 to 1.0.95 (#3847)
dependabot[bot] 371a7c8
Replace archived github actions from actions-rs (#3848)
raskad ced222f
Separate `JsString` into its own crate (#3837)
HalidOdat 314ff86
Bump getrandom from 0.2.14 to 0.2.15 (#3850)
dependabot[bot] 52bc17d
Bump thiserror from 1.0.59 to 1.0.60 (#3851)
dependabot[bot] e17d660
Bump num-bigint from 0.4.4 to 0.4.5 (#3854)
dependabot[bot] e8f673c
Bump paste from 1.0.14 to 1.0.15 (#3852)
dependabot[bot] 0a5721b
Bump proc-macro2 from 1.0.81 to 1.0.82 (#3853)
dependabot[bot] 2e40dbd
Fix CI for nextest step (#3862)
jedel1043 6130adf
Group dependabot updates (#3863)
jedel1043 b11726d
Add matrix badge and update communication to include matrix (#3865)
nekevss 26b1f69
Bump the rust-dependencies group with 5 updates (#3866)
dependabot[bot] fd1a348
add group_collapsed function executing group inside it (#3867)
leoflalv 8c727f6
Bump ICU4X to 1.5 and cleanup Intl (#3868)
jedel1043 c7683e3
Update regress to v0.10.0 (#3869)
raskad c7e3ec4
Bump proc-macro2 from 1.0.84 to 1.0.85 in the rust-dependencies group…
dependabot[bot] 4419e6d
Fix base objects in `with` statements (#3870)
raskad 109dd3d
Adding TryFromJs implementations for BTreeMap and HashMap (#3844)
hansl 95ba660
Bump the rust-dependencies group with 5 updates (#3873)
dependabot[bot] 32e7562
Fix boa cli history (#3875)
raskad 1eaf923
Fix hashbang comments by using proper goal symbols (#3876)
raskad 1f446a8
Bump clap from 4.5.6 to 4.5.7 in the rust-dependencies group (#3878)
dependabot[bot] 69ea2f5
Fix AsyncGenerator to correctly handle `return` inside `then` (#3879)
jedel1043 855c1bb
Bump the rust-dependencies group with 3 updates (#3881)
dependabot[bot] 149693a
Adding TryFromJs implementations for tuples (#3843)
hansl 2458d73
Bump temporal_rs to latest commit (#3880)
jedel1043 2d91cd1
Remove `FormalParameterList` from CodeBlock (#3882)
HalidOdat 9738d44
Combine `HasProperty` and `Get` operations when possible (#3883)
raskad eb43955
Remove some environment clones (#3884)
raskad 4cc47b6
Bump baptiste0928/cargo-install in the ci-dependencies group (#3885)
dependabot[bot] 1a01d1f
Bump the rust-dependencies group with 5 updates (#3886)
dependabot[bot] bb2d028
Bump rustc-hash from 1.1.0 to 2.0.0 (#3887)
dependabot[bot] 961d7b4
Refactor call frame access to avoid panic checks (#3888)
raskad 8e76836
Remove `Temporal.Calendar` and `Temporal.TimeZone` (#3890)
jedel1043 fc2a6e0
Update Temporal rounding and implement additional methods (#3892)
nekevss 183e763
Bump the rust-dependencies group with 4 updates (#3899)
dependabot[bot] 841104e
Bump zerovec from 0.10.3 to 0.10.4 (#3901)
dependabot[bot] 6a6fa6a
format code in comments (#3902)
jasonwilliams 58d0fe6
Add a js_class to implement the Class trait without boilerplate (#3872)
hansl 5bf2e92
Fix HomeObject for private class methods (#3897)
raskad 36eeea1
Fix evaluation order in destructive property assignments (#3895)
raskad 5889a76
Updates to temporal_rs version and temporal methods (#3900)
nekevss d47254b
Patch regression from change to to-relative-to-object (#3906)
nekevss 6bc78bf
Add `get_unchecked` method to `JsString` and `JsStr` (#3898)
CrazyboyQCD 38d0324
bump gc threshold (#3908)
jasonwilliams a682246
update versions and ABOUT files (#3903)
jasonwilliams f80c532
Cleanup README.md and contributor documentation (#3909)
jedel1043 ab0854f
Refactor environment stack to remove some panics (#3893)
raskad 5b1621a
Implement lossless TryFromJs for integers from f64 (#3907)
HalidOdat 4114385
changelog for v0.19 (#3904)
jasonwilliams 532c008
Remove `boa_macros` from `boa_string` (#3913)
jedel1043 fbdd178
Implement `Math.pow` function according to ECMAScript specification (…
magic-akari b38b365
Bump the rust-dependencies group with 3 updates (#3919)
dependabot[bot] 7d025bc
Implement more Temporal functionality (#3924)
nekevss d8b8066
Add a js_error! macro to create opaque errors (#3920)
hansl 523bdd0
Update Instant for new Temporal functionality (#3928)
nekevss 99642be
Fix temporal builtin properties (#3930)
nekevss 816e1bb
Add a way to add setters/getters in js_class! (#3911)
hansl 21a9778
Bump the rust-dependencies group with 4 updates (#3933)
dependabot[bot] 6e6d67c
Fix wrong `neg` operation (#3926)
CrazyboyQCD e205b56
Fix destructuring assignment evaluation order (#3934)
raskad 4c76af8
Fix lints from rustc 1.80.0 (#3936)
jedel1043 ec5d6e3
Bump the rust-dependencies group with 4 updates (#3939)
dependabot[bot] 3a6f4a5
Fix various parser idempotency issues and parsing errors (#3917)
raskad 6f1d7d1
Add a JsError::from_rust constructor to create native errors from Rus…
hansl a9d19bd
Add a Source::with_path method to set the path on a Source (#3941)
hansl 3b5434c
Bump the rust-dependencies group with 8 updates (#3944)
dependabot[bot] ddc8b42
Refactor `RawJsString`'s representation to make `JsString`s construct…
CrazyboyQCD 4e3f660
Bump the rust-dependencies group with 4 updates (#3949)
dependabot[bot] 5ee0dc1
add some temporal methods (#3856)
jasonwilliams c6c6e4c
Allow a custom Logger to be used as the backend for boa_runtime::Cons…
hansl 00f8e00
Split default icu data into lazily deserialized parts (#3948)
jedel1043 50fabc8
Add more utility functions around modules and exports (#3937)
hansl c22f39b
Implement new spec changes for `AsyncGenerator` (#3950)
jedel1043 424896d
Refactor ast function types (#3931)
raskad eba912f
Fix `js_str` macro to correctly handle latin1 strings (#3959)
jedel1043 90c4d0e
Add spec edition 15 to the tester (#3957)
jedel1043 86dab77
Bump the rust-dependencies group with 10 updates (#3960)
dependabot[bot] 1c83ad1
Allow trailing commas in js_class functions (#3964)
hansl 1c1d820
Add clippy for denying print and eprints (#3967)
hansl 1691802
Rename as_promise to as_promise_object and add as_promise -> JsPromis…
hansl af4fd5a
Implement `Atomics.pause` (#3956)
jedel1043 31e4990
Build out partial record functionality, property bag construction, an…
nekevss 25705ef
Refactor iterator APIs to be on parity with the latest spec (#3962)
jedel1043 83ed291
Bump the rust-dependencies group with 4 updates (#3969)
dependabot[bot] c57f231
Add a clone_inner method to allow cloning of inner data (#3968)
hansl 9a553db
fix: ignore `debugger` statement (#3976)
shurizzle eecba59
Bump the rust-dependencies group with 3 updates (#3974)
dependabot[bot] 0f282f5
Add support for boa(rename = "") in TryFromJs derive (#3980)
hansl b08610a
Allow dead code for code that is newly detected as unused (#3984)
hansl b429c54
Enable CI for release branches (#3987)
jedel1043 4c5df56
Allow warnings when running CI on release branches (#3990)
jedel1043 4778780
Add support for Trace, Finalize and JsData for Convert<> (#3970)
hansl 5534ec2
Add a display type for JsString to allow formatting without allocatio…
hansl a166d4c
Bump the rust-dependencies group with 7 updates (#3991)
dependabot[bot] cdb4751
Add an "iter()" method to Js*Array for convenience (#3986)
hansl c21f10e
A simple module loader from a function (#3932)
hansl affa652
Add a way for js_error! macro to create native errors with message (#…
hansl 50356e9
Add TryIntoJsResult for vectors (#3993)
hansl dd32789
Add tests from WPT and fix them in the Console (#3979)
hansl 4db0388
Update changelog for v0.19.1 (#3995)
jedel1043 c480a42
Implement register allocation (#3942)
HalidOdat 6d8be0a
Improve CI concurrency and fix macos release (#3996)
jedel1043 ddb1901
Add TextEncoder, TextDecoder implementations to boa_runtime (#3994)
hansl 8438ad2
Add TryFromJs for TypedJsFunction and more tests (#3981)
hansl aa09d98
Implement scope analysis and local variables (#3988)
raskad bea8369
docs: Fix link to examples (#4007)
it-a-me e6a6950
Add context to the console Logger trait (#4005)
hansl 4ed2bad
Bump the rust-dependencies group with 3 updates (#4003)
dependabot[bot] 628e31c
#4009: eq bug fix + tests (#4010)
Nikita-str 9d7153c
Bump the rust-dependencies group with 4 updates (#4013)
dependabot[bot] fcd4422
Bump the rust-dependencies group with 4 updates (#4015)
dependabot[bot] c9d1b5d
Bump rustsec/audit-check from 1.4.1 to 2.0.0 (#4012)
dependabot[bot] 67f4884
`JsValue::to_json` fix integer property keys (#4011)
Nikita-str 94d08fe
Add a URL class to boa_runtime (#4004)
hansl e22a703
Bump the rust-dependencies group across 1 directory with 8 updates (#…
dependabot[bot] acd1a8d
Add a display_lossy() to write a JsString lossily (#4023)
hansl 905e4c6
`TryIntoJs` trait and derive macro for it (#3999)
Nikita-str 23e8ba2
Bump the rust-dependencies group with 5 updates (#4025)
dependabot[bot] d3dbb4a
console.debug() should use a debug Logger method (#4019)
hansl d8ec97c
use with_capacity to reduce re-allocations fixes #3896 (#3961)
jasonwilliams b60b103
`TryFromJs` from `JsMap` for `HashMap` & `BtreeMap` (#3998)
Nikita-str 265dca3
add nightly build (#4026)
jasonwilliams 4983471
Some optimizations on `Error` (#4020)
CrazyboyQCD 24e2481
Bump the rust-dependencies group with 5 updates (#4027)
dependabot[bot] e37dc41
Option::None should try into Undefined, not Null (#4029)
hansl 9319276
Patch the indentation on nightly_build.yml (#4028)
nekevss 5ea44d8
Wrap the mv command in quotations and add echo for testing (#4032)
nekevss f30514b
Some string optimizations (#4030)
CrazyboyQCD e416a31
Bump thiserror from 1.0.67 to 1.0.69 (#4037)
dependabot[bot] b8ea9bd
Bump the rust-dependencies group with 3 updates (#4036)
dependabot[bot] e892d94
Add a JsPromise::from_result for convenience (#4039)
hansl 1ddfcd5
Use upload-rust-binary-action for nightly release (#4040)
nekevss 2bc6312
Misspelled permissions in file (#4041)
nekevss 334fb36
Fix ref to nightly and add target (#4042)
nekevss e9586b8
Bump the rust-dependencies group with 4 updates (#4045)
dependabot[bot] 55532c0
Remove dockerfile from documentation (#4046)
4yman-0 f7f8470
Bump codecov/codecov-action from 4 to 5 (#4044)
dependabot[bot] 9b7c8ce
Bump dependencies with breaking changes (#4050)
jedel1043 8f1d8d4
Add string builder to build `JsString` (#3915)
CrazyboyQCD 9d8f267
Migrate to fast-float2 (#4052)
jedel1043 10cb765
Bump the rust-dependencies group with 6 updates (#4053)
dependabot[bot] 1c4f455
Bump rustls from 0.23.17 to 0.23.18 (#4055)
dependabot[bot] 793a100
Fix rust 1.83.0 lints (#4060)
raskad 3fb646a
update changelog for 0.20.0 (#4056)
jasonwilliams 26681a0
Bump the rust-dependencies group across 1 directory with 6 updates (#…
dependabot[bot] 97c4423
update the test262 data on release (#4057)
jasonwilliams e1da912
Reduce environment allocations (#4002)
raskad 20fe60f
update changelog and bump versions for release (#4064)
jasonwilliams b345775
update Boa to be inline with Temporal (#4034)
jasonwilliams c2e8d1f
Bug fix: regex started with `/=` parsed as `AssignDiv` (#4048)
Nikita-str c609fbc
fix: parse Arguments should expect `)` not `}` (#4058)
zzzdong 0a082e8
Add fast path for number to `JsString` conversion (#4054)
CrazyboyQCD 0c5f3b7
Bump the rust-dependencies group with 3 updates (#4069)
dependabot[bot] 67f6d56
bug fix: ops that stay strictly at the EOF after assigns ops are igno…
Nikita-str 934546e
Build out Temporal's `ZonedDateTime` and `Now` (#4068)
nekevss f5ba695
Patch Temporal.PlainTime and Temporal.Duration constructors (#4078)
nekevss 4cc816f
Add valueOf methods to the Temporal builtins (#4079)
nekevss 6f2dca8
Add `fjcvtzs` instruction for `ARMv8.3` target (#4084)
CrazyboyQCD e529d70
Add a stress test to the parser to parser multi-millions tokens (#4086)
hansl 517ad50
Bump the rust-dependencies group with 4 updates (#4088)
dependabot[bot] 12faeca
Privatize `JsValue`'s internals and expose it through a JsVariant (wi…
hansl d870057
Skip creation of arguments object if possible (#4087)
raskad 3777df0
Allow resizing of underlying ArrayBuffer from Rust (#4082)
hansl 02ba398
Add inline cache for getting bindings from the global object (#4067)
raskad 1ca6b81
Update Temporal ToIntegerIfIntegral, ToIntegerWithTruncation, and ToP…
nekevss 68e6d49
Add more `ZonedDateTime` method implementations (#4095)
nekevss 71c6e7b
Adjust call to correct method (#4096)
nekevss 1af4494
fix very minor typo shift -> unshift (#4097)
albertleigh fdd8acc
Bump the temporal_rs version and related changes (#4098)
nekevss 9363531
Bump test262 commit and changes to `boa_tester` to support sm changes…
nekevss 77893f3
Bump the rust-dependencies group across 1 directory with 6 updates (#…
dependabot[bot] 13344ce
Remove some clones and branches in hot `PropertyDescriptor` functions…
raskad ce7ea1d
Bump syn from 2.0.93 to 2.0.95 in the rust-dependencies group (#4109)
dependabot[bot] 426503f
Enable sm test suite and fix ephemeron bug (#4107)
jedel1043 c5f2c56
Cleanup CLI to use eyre + refactor patterns (#4108)
jedel1043 579c455
Move methods of `JsString` to `JsStr` (#4106)
jedel1043 4a15d6c
Remove `try_break` macro in favour of question mark operator (#4112)
jedel1043 103c66e
Remove keywords for boolean and null literals (#4113)
jedel1043 ce6cfa8
Implement `Error.isError` (#4114)
jedel1043 a235976
Improve implementation of example `JobQueue`s (#4111)
jedel1043 cf2aa58
Fix CI with the latest linter errors introduced in 1.84 (#4117)
hansl efcafda
Implement `PlainDate` string methods (#4119)
nekevss 3008f1d
Use `cow_to_ascii_uppercase` instead (#4124)
heygsc f64d937
Revamp `JobQueue` into `JobExecutor` and introduce `NativeAsyncJob` …
jedel1043 c48056e
Add `From<Cow<'a, str>>` for `JsString` (#4134)
CrazyboyQCD ca86fdf
Bump the rust-dependencies group across 1 directory with 7 updates (#…
dependabot[bot] b2ba5f6
Implement more `toString` and `toJSON` methods on Temporal builtins (…
nekevss 79a4393
Add vhs-action for boa_cli
nekevss b6aeb7d
Compare GIFs in CI with ImageMagick
nekevss 671c608
Take two with ascii output and diff
nekevss 8bbc1e6
Merge branch 'add-vhs-ci' of https://github.com/boa-dev/boa into add-…
nekevss 63803b6
Refresh and fixes after fast-forwarding branch
nekevss File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,37 @@ | ||
Output cli/assets/boa_cli.gif | ||
|
||
# Setup env | ||
Hide | ||
|
||
Set TypingSpeed 50ms | ||
Set Theme "GruvboxDark" | ||
Set Shell fish | ||
|
||
# boa_cli needs to be installed for the tape to run. | ||
Require boa | ||
|
||
Show | ||
|
||
Type "boa" | ||
|
||
Sleep 100ms | ||
|
||
Enter | ||
|
||
Type "2 + '2'" | ||
|
||
Enter | ||
|
||
Sleep 100ms | ||
|
||
Type "const sayHello = () => { return 'Hello World!' };" | ||
|
||
Enter | ||
|
||
Sleep 100ms | ||
|
||
Type "sayHello();" | ||
|
||
Enter | ||
|
||
Sleep 2s |
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,31 @@ | ||
name: Build Artifacts | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build_cli_tape: | ||
name: Generate boa_cli GIF | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
- run: cargo install --path ./cli | ||
# Below is from vhs-actions examples | ||
# https://github.com/charmbracelet/vhs-action/blob/main/examples/auto-commit.yml | ||
- uses: charmbracelet/vhs-action@v1 | ||
with: | ||
path: './.github/tapes/boa_cli.tape' | ||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
commit_message: Update generated VHS GIF | ||
branch: main | ||
commit_user_name: vhs-action 📼 | ||
commit_user_email: [email protected] | ||
commit_author: vhs-action 📼 <[email protected]> | ||
file_pattern: '*.gif' | ||
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was thinking more about this, and maybe this shouldn't be a direct commit, but a check on the PRs that compares the current version of the GIF with the GIF generated by the tool, and throws if both differ.