Skip to content

Commit

Permalink
Cleans-up CI settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
zonble committed Sep 8, 2024
1 parent 7342561 commit 075c1a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: CI

on: [ push, pull_request ]
on: [push, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macOS-latest, windows-2019, ubuntu-latest ]
os: [macOS-latest, windows-2019, ubuntu-latest]
version: ["3.10.x", "3.19.x", "3.22.x", "3.24.x"]
include:
- os: macOS-latest
Expand All @@ -27,16 +27,6 @@ jobs:
with:
flutter-version: ${{ matrix.version }}
channel: "stable" # optional, default to: 'stable'
# - name: Add Flutter tags
# # Add tags, which are also necessary for version checks to work.
# run: git fetch origin +refs/tags/*:refs/tags/*
# working-directory: ${{ github.workspace }}/flutter
# - name: Add Flutter to path - Windows
# if: startsWith(matrix.os, 'windows')
# run: echo "$env:GITHUB_WORKSPACE\flutter\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
# - name: Add Flutter to path - macOS/Linux
# if: startsWith(matrix.os, 'macOS') || startsWith(matrix.os, 'ubuntu')
# run: echo "$GITHUB_WORKSPACE/flutter/bin" >> $GITHUB_PATH
- name: Install Linux dependencies
if: startsWith(matrix.os, 'ubuntu')
run: |
Expand Down Expand Up @@ -65,5 +55,3 @@ jobs:
if: startsWith(matrix.os, 'windows')
run: flutter build windows
working-directory: ${{ github.workspace }}/flutter_platform_alert/example


4 changes: 2 additions & 2 deletions example/test/widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ void main() {
// Verify that platform version is retrieved.
expect(
find.byWidgetPredicate(
(Widget widget) => widget is Text &&
widget.data!.startsWith('Running on:'),
(Widget widget) =>
widget is Text && widget.data!.startsWith('Running on:'),
),
findsOneWidget,
);
Expand Down

0 comments on commit 075c1a3

Please sign in to comment.