This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
Only enqueue non-terminal tasks #351
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: Pull Request | |
on: pull_request | |
jobs: | |
tests-lint: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: "0" | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.19' | |
- name: Unit Tests | |
run: make mod_download && make test_unit_codecov | |
- name: Push CodeCov | |
uses: codecov/[email protected] | |
with: | |
file: coverage.txt | |
flags: unittests | |
fail_ci_if_error: false | |
- name: Bench tests | |
run: make install && make test_benchmark | |
lint: | |
name: Lint | |
uses: flyteorg/flytetools/.github/workflows/lint.yml@master | |
with: | |
go-version: '1.19' | |
test-generate-integrity: | |
name: Ensure go generate has run | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: "0" | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.19' | |
- name: Go generate and diff | |
run: DELTA_CHECK=true make generate | |