Skip to content

fix: run submodule tests #448

fix: run submodule tests

fix: run submodule tests #448

Workflow file for this run

name: Run Tests
# Triggers the workflow on push or pull request events
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
go: [ '1.18', '1.19', '1.20', '1.21' ]
runs-on: ubuntu-20.04
name: Go ${{ matrix.go }} Tests
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Run tests
run: go test -v ./...
- name: Run tests in test directory
run: cd tests && go test -v ./...
- name: Run submodule tests
run: find . -name go.mod -execdir go test ./... \;
- name: Run Coverage
run: go test -v -cover ./...