Skip to content

Commit a1fc8ea

Browse files
committed
Update ci-requirements
1 parent cb27bba commit a1fc8ea

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

npm/ci-requirements.sh

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,19 @@ echo "Installing curl"
8080
echo "Installing dependencies required for tests in codegens/shell-httpie"
8181
sudo apt-get install httpie
8282

83-
echo "Installing dependencies required for tests in codegens/dart"
83+
echo "Installing dependencies required for tests in codegens/dart-http"
8484
pushd ./codegens/dart-http &>/dev/null;
85+
wget -q https://storage.googleapis.com/dart-archive/channels/stable/release/2.10.2/linux_packages/dart_2.10.2-1_amd64.deb
86+
sudo dpkg -i dart_2.10.2-1_amd64.deb
87+
echo '''name: test
88+
dependencies:
89+
http: ^0.12.2
90+
''' > pubspec.yaml
91+
dart pub get
92+
popd &>/dev/null;
93+
94+
echo "Installing dependencies required for tests in codegens/dart-dio"
95+
pushd ./codegens/dart-dio &>/dev/null;
8596
wget -q https://storage.googleapis.com/dart-archive/channels/stable/release/latest/linux_packages/dart_3.0.4-1_amd64.deb
8697
sudo dpkg -i dart_3.0.4-1_amd64.deb
8798
echo '''name: test
@@ -90,7 +101,6 @@ environment:
90101
sdk: ^3.0.3
91102
dependencies:
92103
dio: ^5.2.0
93-
http: ^1.0.0
94104
''' > pubspec.yaml
95105
dart pub get
96106
popd &>/dev/null;

0 commit comments

Comments
 (0)