Skip to content

Commit 0ecc8ea

Browse files
authored
ci: run integration tests under tag (#26)
1 parent 7446779 commit 0ecc8ea

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939
run: dart pub get
4040

4141
- name: 🧪 Run Tests
42-
run: dart test -t integration
42+
run: dart test --run-skipped -t integration -x known-issues

.idea/runConfigurations/Integration_tests.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/dart_test.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
tags:
22
integration:
3-
4-
# This tag is used to mark tests that map to a scenario not supported by the library.
3+
skip: "Integration tests should run on its own workflow"
54
known-issues:
6-
skip: true
5+
skip: "Integration test that map to a scenario not supported by the library"

example/test/integration/completion_integration_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ void main() {
197197
'--trueflag': 'A flag that cannot be negated'
198198
};
199199

200-
final allAbbreviationssInThisLevel = <String, String?>{
200+
final allAbbreviationsInThisLevel = <String, String?>{
201201
'-h': 'Print this usage information.',
202202
'-d': 'A discrete option with "allowed" values (mandatory)',
203203
'-m': 'An discrete option that can be passed multiple times ',
@@ -333,7 +333,7 @@ void main() {
333333
test('just dash', () async {
334334
await expectLater(
335335
'example_cli some_command -',
336-
suggests(allAbbreviationssInThisLevel),
336+
suggests(allAbbreviationsInThisLevel),
337337
);
338338
});
339339
});

0 commit comments

Comments
 (0)