Skip to content

Merge pull request #248 from AlexTelon/dev #79

Merge pull request #248 from AlexTelon/dev

Merge pull request #248 from AlexTelon/dev #79

Workflow file for this run

name: test-flexicharge-cross-platform
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
drive:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Start Flutter environment
uses: subosito/flutter-action@v1
- name: Install junitreport package
run: dart pub global activate junitreport
- name: Perform tests
run: flutter test --machine | tojunit > test-report.xml
- name: Generate test report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
report_paths: test-report.xml