Skip to content

Commit

Permalink
run only for ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
git-elliot committed Jan 14, 2025
1 parent 84c7608 commit a3b3147
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/flutter_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,12 @@ jobs:
if: ${{ (matrix.os == 'ubuntu') && (needs.changes.outputs.branch == 'dev') && (needs.changes.outputs.lib || needs.changes.outputs.test || needs.changes.outputs.linux || needs.changes.outputs.yaml ) }}
run: |
sudo apt-get update -y
sudo apt-get install -y curl git unzip xz-utils zip libglu1-mesa clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev libssl-dev keybinder-3.0 libnotify-dev libmpv-dev mpv
sudo apt-get install -y curl git unzip xz-utils zip libglu1-mesa clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev libssl-dev keybinder-3.0 libnotify-dev libmpv-dev mpv network-manager
export DISPLAY=:99
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
- name: Run integration tests
if: needs.changes.outputs.branch == 'dev'
run: |
export DISPLAY=:99
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
sudo apt-get install network-manager
flutter test integration_test --coverage -d ${{ matrix.os == 'ubuntu' && 'Linux' || matrix.os }}
run: flutter test integration_test --coverage -d ${{ matrix.os == 'ubuntu' && 'Linux' || matrix.os }}
- name: Upload Coverage to CodeCov
if: needs.changes.outputs.branch == 'dev'
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit a3b3147

Please sign in to comment.