File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -74,12 +74,12 @@ jobs:
74
74
75
75
- name : Run tests (DDC)
76
76
run : |
77
- dart run build_runner test --delete-conflicting-outputs --exclude-tags =react- ${{ matrix.react == 18 && '17' || '18' }} -- --preset dartdevc
77
+ dart run build_runner test --delete-conflicting-outputs -- --preset dartdevc --preset =react${{ matrix.react }}
78
78
if : always() && steps.install.outcome == 'success'
79
79
timeout-minutes : 8
80
80
81
81
- name : Run tests (dart2js)
82
82
run : |
83
- dart run build_runner test --delete-conflicting-outputs --release --exclude-tags =react- ${{ matrix.react == 18 && '17' || '18' }} -- --preset dart2js
83
+ dart run build_runner test --delete-conflicting-outputs --release -- --preset dart2js --preset =react${{ matrix.react }}
84
84
if : always() && steps.install.outcome == 'success'
85
85
timeout-minutes : 8
Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ presets:
14
14
dartdevc :
15
15
exclude_tags : no-dartdevc
16
16
17
+ react18 :
18
+ exclude_tags : react-17
19
+
20
+ react17 :
21
+ exclude_tags : react-18
22
+
17
23
tags :
18
24
# Variadic children tests of >5 children that fail in Dart 2.7 for an unknown reason, seemingly an SDK bug.
19
25
# These tests pass in later Dart SDKs, so we ignore them when running in 2.7.
You can’t perform that action at this time.
0 commit comments