Files
releases/.github/workflows/pull-request.yaml
T
Patrick East d5c0e1a32d Update Codecov action configuration
We had `tags` specified but its looking for `flags`. This was causing
a warning on the tests.

Signed-off-by: Patrick East <east.patrick@gmail.com>
2020-07-08 17:23:22 -07:00

81 lines
1.7 KiB
YAML

name: PR Check
on: [pull_request]
jobs:
# All jobs essentially re-create the `ci-release-test` make target, but are split
# up for parallel runners for faster PR feedback and a nicer UX.
go-build:
name: Go Build
runs-on: ubuntu-18.04
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Build Golang
run: make ci-go-build-all-platforms
timeout-minutes: 30
go-test:
name: Go Test
runs-on: ubuntu-18.04
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Unit Test Golang
run: make ci-go-test-coverage
timeout-minutes: 30
- name: Codecov Upload
uses: codecov/codecov-action@v1
with:
flags: unittests
file: ./coverage.txt
fail_ci_if_error: false
go-perf:
name: Go Perf
runs-on: ubuntu-18.04
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Benchmark Test Golang
run: make ci-go-perf
timeout-minutes: 30
go-lint:
name: Go Lint
runs-on: ubuntu-18.04
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Golang Style and Lint Check
run: make ci-go-check
timeout-minutes: 30
wasm:
name: WASM
runs-on: ubuntu-18.04
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Build and Test WASM
run: make ci-wasm
timeout-minutes: 15
check-generated:
name: Check Generated
runs-on: ubuntu-18.04
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Check Working Copy
run: make ci-check-working-copy
timeout-minutes: 15