From 7d9fbf38f085646758590c8935743a122a1b15b7 Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Mon, 20 Nov 2023 15:10:33 +0100 Subject: [PATCH] [infra] Try fix coveralls (#813) Co-authored-by: Hossein Yousefi --- .github/workflows/ffigen.yml | 7 +++++++ .github/workflows/jnigen.yaml | 4 ++-- pkgs/jni/.gitignore | 2 +- pkgs/jnigen/example/notification_plugin/.gitignore | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ffigen.yml b/.github/workflows/ffigen.yml index 0f44ad7e2..de0f6b2d6 100644 --- a/.github/workflows/ffigen.yml +++ b/.github/workflows/ffigen.yml @@ -88,8 +88,15 @@ jobs: - name: Upload coverage uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 with: + flag-name: ffigen-all github-token: ${{ secrets.GITHUB_TOKEN }} + parallel: true path-to-lcov: pkgs/ffigen/lcov.info + - name: Upload coverage + uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + parallel-finished: true test-windows: needs: analyze diff --git a/.github/workflows/jnigen.yaml b/.github/workflows/jnigen.yaml index 4da96d352..1d88ec4d5 100644 --- a/.github/workflows/jnigen.yaml +++ b/.github/workflows/jnigen.yaml @@ -116,8 +116,8 @@ jobs: - name: Upload coverage uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 with: - github-token: ${{ secrets.GITHUB_TOKEN }} flag-name: jnigen_tests + github-token: ${{ secrets.GITHUB_TOKEN }} parallel: true path-to-lcov: ./pkgs/jnigen/coverage/lcov.info if: ${{ matrix.sdk == 'stable' }} @@ -192,8 +192,8 @@ jobs: - name: Upload coverage uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 with: - github-token: ${{ secrets.GITHUB_TOKEN }} flag-name: jni_tests + github-token: ${{ secrets.GITHUB_TOKEN }} parallel: true path-to-lcov: ./pkgs/jni/coverage/lcov.info # TODO(https://github.com/dart-lang/ffigen/issues/555): Ffigen generated diff --git a/pkgs/jni/.gitignore b/pkgs/jni/.gitignore index ae8c6c2ef..721ddfae5 100644 --- a/pkgs/jni/.gitignore +++ b/pkgs/jni/.gitignore @@ -19,7 +19,7 @@ migrate_working_dir/ # The .vscode folder contains launch configuration and tasks you configure in # VS Code which you may wish to be included in version control, so this line # is commented out by default. -#.vscode/ +.vscode/ # Flutter/Dart/Pub related # Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. diff --git a/pkgs/jnigen/example/notification_plugin/.gitignore b/pkgs/jnigen/example/notification_plugin/.gitignore index 96486fd93..d920ae682 100644 --- a/pkgs/jnigen/example/notification_plugin/.gitignore +++ b/pkgs/jnigen/example/notification_plugin/.gitignore @@ -19,7 +19,7 @@ migrate_working_dir/ # The .vscode folder contains launch configuration and tasks you configure in # VS Code which you may wish to be included in version control, so this line # is commented out by default. -#.vscode/ +.vscode/ # Flutter/Dart/Pub related # Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.