Skip to content

Commit

Permalink
fix: added actions to test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mhochsto committed Sep 5, 2024
1 parent 7ef5e66 commit faffbec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Flutter
uses: ./.github/actions/flutter-setup

- name: Analyze sources
run: flutter analyze --no-fatal-infos --no-pub
18 changes: 8 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ jobs:
test-web:
runs-on: ubuntu-latest
steps:
- uses: ./.github/workflows/flutter-setup.yml
with:
destination: ubuntu-latest
- uses: actions/checkout@v4
- name: Setup Flutter
uses: ./.github/actions/flutter-setup
- name: run web tests
run: flutter test -r expanded

test-android:
runs-on: ubuntu-latest
steps:
- uses: ./.github/workflows/flutter-setup.yml
with:
destination: ubuntu-latest
- uses: actions/checkout@v4
- name: Setup Flutter
uses: ./.github/actions/flutter-setup
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Expand All @@ -40,10 +39,9 @@ jobs:
test-ios:
runs-on: macos-latest
steps:
- uses: ./.github/workflows/flutter-setup.yml
with:
destination: macos-latest
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Flutter
uses: ./.github/actions/flutter-setup
- uses: SwiftyLab/setup-swift@latest
with:
swift-version: '5.10.0'
Expand Down

0 comments on commit faffbec

Please sign in to comment.