improve failing test output, add a summary #414
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: | |
- name: ubuntu-latest | |
- name: macos-latest | |
- name: windows-latest | |
runs-on: ${{ matrix.os.name }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "^1.17.8" | |
- name: Install V | |
uses: vlang/setup-v@v1 | |
- name: Get go2v | |
uses: actions/checkout@v2 | |
- name: Check GO env variables | |
run: go env && v -e 'import os; os.getenv("PATH").split(os.path_delimiter).map(dump(it))' | |
- name: Check code formatting | |
run: | | |
v fmt -diff . | |
v fmt -verify . | |
- name: Build go2v | |
run: v . | |
- name: Run tests | |
run: v -g test . | |
- name: Run copmplex tests | |
run: | | |
v run . complex_tests/esbuild/api_impl |