Update test.yml
This commit is contained in:
parent
ee07e60401
commit
f88c1ebf96
1 changed files with 3 additions and 3 deletions
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -15,6 +15,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
# This workflow contains a single job called "build"
|
# This workflow contains a single job called "build"
|
||||||
test:
|
test:
|
||||||
|
if: github.actor != 'weblate'
|
||||||
# The type of runner that the job will run on
|
# The type of runner that the job will run on
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
defaults:
|
||||||
|
@ -23,9 +24,6 @@ jobs:
|
||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
- env:
|
|
||||||
ACTOR: ${{ github.actor }}
|
|
||||||
run: echo $ACTOR
|
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-java@v2
|
- uses: actions/setup-java@v2
|
||||||
|
@ -39,8 +37,10 @@ jobs:
|
||||||
- uses: subosito/flutter-action@v2
|
- uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
flutter-version: '3.10.5'
|
flutter-version: '3.10.5'
|
||||||
|
|
||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
- run: flutter test --coverage
|
- run: flutter test --coverage
|
||||||
|
|
||||||
- name: Coveralls GitHub Action
|
- name: Coveralls GitHub Action
|
||||||
uses: coverallsapp/github-action@v2
|
uses: coverallsapp/github-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Reference in a new issue