Skip to content

Commit c00fdb8

Browse files
authored
Run the test suite on Linux with --profiler (#207)
1 parent 139c7f7 commit c00fdb8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/io_file.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@ jobs:
4848

4949
- run: dart test --test-randomize-ordering-seed=random --platform vm
5050

51+
profile-vm-test:
52+
# Ensure that the tests pass when run under the profiler (which sends
53+
# SIG_PROF on Linux).
54+
runs-on: ubuntu-latest
55+
steps:
56+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
57+
- uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
58+
with:
59+
sdk: stable
60+
- run: dart --profiler --profile_period=50 test --test-randomize-ordering-seed=random --platform vm
61+
5162
desktop-vm-benchmark:
5263
strategy:
5364
fail-fast: false

0 commit comments

Comments
 (0)