Skip to content

fix: run submodule tests #449

fix: run submodule tests

fix: run submodule tests #449

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 sh -c 'go test ./... || exit 255' \;
- name: Run Coverage
run: go test -v -cover ./...