diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 3383c71..fc53db3 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -39,4 +39,4 @@ jobs: # package:test for this step to succeed. Note that Flutter projects will # want to change this to 'flutter test'. - name: Run tests - run: dart test + run: dart test --exclude-tags real-data diff --git a/test/day1_test.dart b/test/day1_test.dart index ef7c7da..1740d66 100644 --- a/test/day1_test.dart +++ b/test/day1_test.dart @@ -4,7 +4,7 @@ import 'package:aoc_2024/day1/part_2.dart' as part2; import 'package:test/test.dart'; void main() { - group('sample data', () { + group('sample data', tags: 'sample-data', () { final resources = Resources.sample; test('part1', () async { @@ -16,7 +16,7 @@ void main() { }); }); - group('real data', () { + group('real data', tags: 'real-data', () { final resources = Resources.real; test('part1', () async { diff --git a/test/day2_test.dart b/test/day2_test.dart index 07681c4..a2548f1 100644 --- a/test/day2_test.dart +++ b/test/day2_test.dart @@ -4,7 +4,7 @@ import 'package:aoc_2024/day2/part_2.dart' as part2; import 'package:test/test.dart'; void main() { - group('sample data', () { + group('sample data', tags: 'sample-data', () { final resources = Resources.sample; test('part1', () async { @@ -16,7 +16,7 @@ void main() { }); }); - group('real data', () { + group('real data', tags: 'real-data', () { final resources = Resources.real; test('part1', () async { diff --git a/test/day3_test.dart b/test/day3_test.dart index a7edd3f..2e8332f 100644 --- a/test/day3_test.dart +++ b/test/day3_test.dart @@ -4,7 +4,7 @@ import 'package:aoc_2024/day3/part_2.dart' as part2; import 'package:test/test.dart'; void main() { - group('sample data', () { + group('sample data', tags: 'sample-data', () { final resources = Resources.sample; test('part1', () async { @@ -16,7 +16,7 @@ void main() { }); }); - group('real data', () { + group('real data', tags: 'real-data', () { final resources = Resources.real; test('part1', () async { diff --git a/test/day4_test.dart b/test/day4_test.dart index ec17bd8..553bc6c 100644 --- a/test/day4_test.dart +++ b/test/day4_test.dart @@ -4,7 +4,7 @@ import 'package:aoc_2024/day4/part_2.dart' as part2; import 'package:test/test.dart'; void main() { - group('sample data', () { + group('sample data', tags: 'sample-data', () { final resources = Resources.sample; test('part1', () async { @@ -16,7 +16,7 @@ void main() { }); }); - group('real data', () { + group('real data', tags: 'real-data', () { final resources = Resources.real; test('part1', () async { diff --git a/test/day5_test.dart b/test/day5_test.dart index 15c2c50..a0417cb 100644 --- a/test/day5_test.dart +++ b/test/day5_test.dart @@ -4,7 +4,7 @@ import 'package:aoc_2024/day5/part_2.dart' as part2; import 'package:test/test.dart'; void main() { - group('sample data', () { + group('sample data', tags: 'sample-data', () { final resources = Resources.sample; test('part1', () async { @@ -16,7 +16,7 @@ void main() { }); }); - group('real data', () { + group('real data', tags: 'real-data', () { final resources = Resources.real; test('part1', () async { diff --git a/test/day6_test.dart b/test/day6_test.dart index 63ba6e7..4eb9510 100644 --- a/test/day6_test.dart +++ b/test/day6_test.dart @@ -4,7 +4,7 @@ import 'package:aoc_2024/day6/part_2.dart' as part2; import 'package:test/test.dart'; void main() { - group('sample data', () { + group('sample data', tags: 'sample-data', () { final resources = Resources.sample; test('part1', () async { @@ -16,7 +16,7 @@ void main() { }); }); - group('real data', () { + group('real data', tags: 'real-data', () { final resources = Resources.real; test('part1', () async {