-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* temp commit * temp commit * refactor * refactor * refactor * refactor * woohoo * woohoo * fix * update tasks * update tasks * add workflow * add workflow * finish unencrypted indexed db tests * add encrypted test * add encrypted test * add encrypted test * fix workflow * fix workflow
- Loading branch information
1 parent
3b122bb
commit c8183bb
Showing
48 changed files
with
2,664 additions
and
1,721 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Run Flutter Tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main # Adjust the target branch as needed | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: '3.24.0' | ||
|
||
- name: Install dependencies | ||
run: flutter pub get | ||
|
||
- name: Run Core tests | ||
run: flutter test test/core | ||
|
||
- name: Run Native tests | ||
run: flutter test test/native | ||
|
||
- name: Run Web tests | ||
run: flutter test test/web --platform chrome |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch example", | ||
"request": "launch", | ||
"type": "dart", | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Core tests", | ||
"type": "shell", | ||
"command": "flutter", | ||
"args": ["test", "test/core"], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"problemMatcher": [], | ||
"detail": "Runs a specific Flutter test file on the Chrome platform." | ||
}, | ||
{ | ||
"label": "Native tests", | ||
"type": "shell", | ||
"command": "flutter", | ||
"args": ["test", "test/native"], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"problemMatcher": [], | ||
"detail": "Runs a specific Flutter test file on the Chrome platform." | ||
}, | ||
{ | ||
"label": "Web tests", | ||
"type": "shell", | ||
"command": "flutter", | ||
"args": [ | ||
"test", | ||
"test/web", | ||
"--platform", | ||
"chrome" | ||
], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"problemMatcher": [], | ||
"detail": "Runs a specific Flutter test file on the Chrome platform." | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.