Skip to content

Commit

Permalink
Enable mac tests (#77)
Browse files Browse the repository at this point in the history
* fix: Doc directive is missing a closing tag.

* enable macos integration test in pipeline

* Update supported platforms in README
  • Loading branch information
jsiedentop authored Jan 11, 2024
1 parent 26299a3 commit d5e611b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@ jobs:
- run: flutter pub run webcrypto:setup
- run: flutter test
- run: flutter test --platform chrome
# TODO: Enable macos desktop when supported
#- run: flutter test integration_test/webcrypto_test.dart -d macos
# working-directory: ./example
- run: flutter test integration_test/webcrypto_test.dart -d macos
working-directory: ./example
- uses: nanasess/setup-chromedriver@v2
- name: Run integration_test with chromedriver
working-directory: ./example
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ browser, this package features a native implementation embedding
web browser this package wraps the [`window.crypto`][window-crypto] APIs and
providing the same Dart API as the native implementation.

This way, `package:webcrypto` provides the same crypto API on multiple
platforms. Initially targeting Flutter for **Android**, **iOS** and **Web**,
with other platforms following as soon as the build system allows.
This way, `package:webcrypto` provides the same crypto API on **Android**, **iOS**, **Web**, **Windows**, **Linux** and **Mac**.

**Example**
```dart
Expand Down
2 changes: 1 addition & 1 deletion lib/src/webcrypto/webcrypto.hmac.dart
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ abstract class HmacSecretKey {
/// timing attacks. To validate signatures use [verifyBytes] or [verifyStream]
/// instead, these methods computes a signature and does a
/// fixed-time comparison.
/// {@template}
/// {@endtemplate}
Future<Uint8List> signBytes(List<int> data);

/// Compute an HMAC signature of given [data] stream.
Expand Down

0 comments on commit d5e611b

Please sign in to comment.