v/.github/workflows/ci.yaml
Marc Cataford 9d144d7ddc
test: partial coverage state (#9)
* build: add test + coverage tooling

* ci: run tests on ci

* test: partial coverage for state utils
2023-11-08 00:23:44 -05:00

29 lines
565 B
YAML

name: "v CI/CD"
on:
pull_request:
push:
branches:
- main
jobs:
tests:
name: "Tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- run: . scripts/test
integration-tests:
name: "Integration tests"
runs-on: ubuntu-latest
env:
V_ROOT: /tmp/v
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- run: . integration/install_specific_version