Skip to content

Release 6.0.0

Release 6.0.0 #12

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
#
# This file is auto-generated by OpenAPI Generator (https://openapi-generator.tech)
name: dart CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
strategy:
matrix:
sdk: [2.15.1, 2.16.2, 2.17.7, 2.18.7, 2.19.6]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- uses: actions/setup-node@v2
- name: Run Mockoon CLI
uses: mockoon/cli-action@v1
with:
version: 'latest'
data-file: 'https://raw.githubusercontent.com/conekta/openapi/main/mocks/conekta_api.json'
port: 3000
- name: dart install, build and test
run: |
dart pub get
dart run build_runner clean && dart run build_runner build --delete-conflicting-outputs
dart run test
env:
BASE_PATH: http://localhost:3000