Skip to content

Commit a76df23

Browse files
ci: test job fails for flutter windows-latest (#769)
1 parent 31b4036 commit a76df23

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/ci.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,15 @@ jobs:
8181
uses: subosito/flutter-action@v2
8282
with:
8383
cache: true
84-
- name: Set file permissions
84+
- name: Set file permissions on Ubuntu and MacOS
85+
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
8586
run: chmod +x tools/flutter-dependencies.sh
86-
- name: Install dependencies
87+
- name: Install dependencies on Ubuntu and MacOS
88+
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
8789
run: tools/flutter-dependencies.sh
90+
- name: Install dependencies on Windows
91+
if: matrix.os == 'windows-latest'
92+
run: tools/flutter-dependencies.bat
8893
- name: Run tests
8994
run: (cd packages/flutter && flutter test --coverage)
9095
- name: Convert code coverage

tools/flutter-dependencies.bat

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cd packages/dart
2+
flutter pub get
3+
cd ../..
4+
cd packages/flutter
5+
flutter pub remove parse_server_sdk
6+
flutter pub add parse_server_sdk --path ../dart
7+
flutter pub get

0 commit comments

Comments
 (0)