Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
a9838a9
feat: migrates to package:web and js_interop
josh-burton May 20, 2024
9a156fb
fix: enhances comment
josh-burton Jun 4, 2024
4266881
chore: Adds changelog
josh-burton Jun 4, 2024
7dfc42e
chore: formatting
josh-burton Jun 4, 2024
2bf4b4f
fix: changes min flutter version to 3.13.0 and dart sdk 3.1.0 to be c…
josh-burton Jun 4, 2024
c4f9ba0
Merge branch 'main' into package-web
vaind Jun 20, 2024
3d07b8e
compat with dart:html & dart:web
vaind Jun 20, 2024
75014d1
fixups
vaind Jun 20, 2024
f945e9a
more fixups
vaind Jun 20, 2024
de46ce3
analyzer
vaind Jun 20, 2024
99391f4
chore: changelog entry
vaind Jun 20, 2024
31bac33
Merge branch 'main' into package-web
vaind Jun 20, 2024
80a0e2b
run dart test for all supported dart version
vaind Jun 20, 2024
e3e6c56
update web example tests
vaind Jun 20, 2024
fe1e91d
update ci
vaind Jun 20, 2024
f170986
update deps so that we can run test with old dart versions
vaind Jun 20, 2024
d05cf9d
fix ci
vaind Jun 20, 2024
78a78a2
fix web enricher test
vaind Jun 20, 2024
ac61607
fix ci
vaind Jun 20, 2024
8317804
ci fixes
vaind Jun 20, 2024
f5f9c7b
ignore pana error
vaind Jun 20, 2024
74e5f50
Merge branch 'main' into package-web
vaind Jun 20, 2024
f6e32d0
fix CI
vaind Jun 20, 2024
2c52eeb
fix ci
vaind Jun 20, 2024
f9d80f0
remove dart 2.17 build
vaind Jun 20, 2024
b19f0ad
fixes
vaind Jun 20, 2024
529e4f4
fix CI
vaind Jun 20, 2024
5750e5c
test dart2wasm
vaind Jun 20, 2024
5375cf2
cleanup
vaind Jun 20, 2024
a939163
disable dart2wasm on windows
vaind Jun 20, 2024
cec7756
fix tests for wasm
vaind Jun 20, 2024
3216f42
Merge branch 'main' into package-web
vaind Jun 25, 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
Prev Previous commit
Next Next commit
fix CI
  • Loading branch information
vaind committed Jun 20, 2024
commit f6e32d0b9cffb9b5f9fb752921b22175804f770d
12 changes: 11 additions & 1 deletion .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,18 @@ jobs:

- name: Build Web example
if: runner.os != 'Windows'
working-directory: dart/example_web
shell: powershell
run: |
try {
$useLegacy = ([System.Management.Automation.SemanticVersion]::Parse('${{ matrix.sdk }}') -lt [System.Management.Automation.SemanticVersion]::Parse('3.3'))
} catch {
$useLegacy = $false
}
if ($useLegacy) {
cd dart/example_web_legacy
} else {
cd dart/example_web
}
dart pub get
webdev build

Expand Down
9 changes: 8 additions & 1 deletion dart/test/sentry_measurement_unit_test.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
@TestOn('vm')
library dart_test;

import 'dart:io';

import 'package:sentry/sentry.dart';
import 'package:test/test.dart';
import 'package:version/version.dart';

void main() {
final dartVersion = Version.parse(Platform.version.split(' ')[0]);
group('$SentryMeasurementUnit', () {
group('DurationUnit', () {
test('nanosecond', () {
Expand Down Expand Up @@ -126,5 +133,5 @@ void main() {
expect(CustomSentryMeasurementUnit('custom').toStringValue(), 'custom');
});
});
});
}, skip: dartVersion < Version.parse('2.12.0'));
}