Skip to content

ci: also analyze e2e test ground truth files #1

ci: also analyze e2e test ground truth files

ci: also analyze e2e test ground truth files #1

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
types: [opened, reopened, review_requested]
jobs:
test:
name: "Tests"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./swagger_parser
strategy:
matrix:
sdk:
- stable
steps:
- uses: actions/checkout@v7.0.1
- uses: dart-lang/setup-dart@v1.7.2
with:
sdk: "${{ matrix.sdk }}"
- name: Install dependencies
run: dart pub get
- name: Format
run: dart format --set-exit-if-changed -o none lib/
- name: Analyze
run: |
# cursed hack to also check the e2e test outputs?
rm analysis_options.yaml
dart analyze
- name: Run tests
run: dart run test