You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move schema downloader tests to integration test target (#1761)
* Move schema downloader tests to integration test target
* Only run codegen integration tests on macOS
* Only run integration tests on macOS
* Move codegen test support into its own target
* Fix target config errors
* Clean Derived data before building on CI
* Build-for-testing while specifying correct test plan
Copy file name to clipboardExpand all lines: .circleci/config.yml
+51-24Lines changed: 51 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -27,21 +27,11 @@ parameters:
27
27
default: "appletvsimulator14.3"
28
28
29
29
commands:
30
-
common_test_steps:
31
-
description: Commands to run for every set of tests
30
+
integration_test_setup:
32
31
steps:
33
32
- restore_cache:
34
33
key: starwars-server
35
-
- checkout
36
-
- run:
37
-
command: rm ~/.ssh/id_rsa
38
-
name: Remove old SSH key
39
-
- run:
40
-
command: for ip in $(dig @8.8.8.8 bitbucket.org +short); do ssh-keyscan bitbucket.org,$ip; ssh-keyscan $ip; done 2>/dev/null >> ~/.ssh/known_hosts || true
41
-
name: Bitbucket Key Workaround
42
-
- run:
43
-
command: for ip in $(dig @8.8.8.8 github.com +short); do ssh-keyscan github.com,$ip; ssh-keyscan $ip; done 2>/dev/null >> ~/.ssh/known_hosts || true
44
-
name: Github Key Workaround
34
+
- common_test_setup
45
35
- run:
46
36
command: ./scripts/install-node.sh
47
37
name: Install Node
@@ -59,17 +49,34 @@ commands:
59
49
- run:
60
50
command: sudo chmod -R +rwx SimpleUploadServer
61
51
name: Adjust permissions for simple upload server folder
52
+
integration_test_cleanup:
53
+
steps:
54
+
- save_cache:
55
+
key: starwars-server
56
+
paths:
57
+
- ../starwars-server
58
+
common_test_setup:
59
+
description: Commands to run for setup of every set of tests
command: for ip in $(dig @8.8.8.8 bitbucket.org +short); do ssh-keyscan bitbucket.org,$ip; ssh-keyscan $ip; done 2>/dev/null >> ~/.ssh/known_hosts || true
67
+
name: Bitbucket Key Workaround
68
+
- run:
69
+
command: for ip in $(dig @8.8.8.8 github.com +short); do ssh-keyscan github.com,$ip; ssh-keyscan $ip; done 2>/dev/null >> ~/.ssh/known_hosts || true
0 commit comments