-
Notifications
You must be signed in to change notification settings - Fork 7
/
skynet.yaml
22 lines (20 loc) · 1.04 KB
/
skynet.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: private-unit-tests
description: Unit tests that require access to our private Pub server.
contact: 'Frontend Design / #support-ui-platform'
image: drydock.workiva.net/workiva/dart_unit_test_image:2
size: large
timeout: eternal
artifacts: /testing/test-reports
test-reports: /testing/test-reports
scripts:
- dart pub get
- RESULT=0
- echo 'Running dart pub get in test fixtures beforehand to prevent concurrent `dart pub get`s in tests from failing'
- (cd test/test_fixtures/over_react_project && dart pub get)
- (cd test/test_fixtures/wsd_project && dart pub get)
- (cd test/test_fixtures/rmui_project && dart pub get)
- echo 'Running only the tests with the "wsd" tag'
# TODO think about using an aggregated test suite for these so that we can reuse the same SharedAnalysisContext/AnalysisContextCollection instances and run tests faster.
- dart test --tags=wsd --file-reporter=json:test-reports/wsd.json || RESULT=1
- dart pub global run w_test_tools:xunit_parser -j test-reports/wsd.json -t test-reports/wsd.xml
- exit $RESULT