Skip to content

Commit 21a6b07

Browse files
committed
create a web integration test
1 parent c723afe commit 21a6b07

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

.github/workflows/dargon2_flutter_tests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@ jobs:
7171
- name: Run Integration Tests
7272
run: flutter test integration_test/
7373

74+
test_web:
75+
runs-on: ubuntu-20.04
76+
steps:
77+
- uses: actions/checkout@v2
78+
- uses: subosito/flutter-action@v2
79+
- run: flutter pub get
80+
- run: chromedriver --port=4444 &
81+
- run: flutter drive --driver=test_driver/integration_test.dart --target=integration_test/argon2_ffi_test.dart -d web-server
82+
7483
test_desktop:
7584
runs-on: ${{ matrix.os }}
7685
strategy:

.idea/workspace.xml

Lines changed: 12 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import 'package:integration_test/integration_test_driver.dart';
2+
3+
Future<void> main() => integrationDriver();

0 commit comments

Comments
 (0)