Skip to content

chore(ci): adding coverage reports #204

chore(ci): adding coverage reports

chore(ci): adding coverage reports #204

Workflow file for this run

name: go tests
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
- name: Build Wasm
run: make build-wasm
- name: Test
run: make tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}