Adding tests to verify trie's functionalities, testing #260
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: Lama2 Tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.19.x' | |
- name: Install dependencies | |
run: go mod tidy | |
- name: Build | |
run: go build -v ./... | |
- name: Test with the Go CLI | |
run: | | |
go mod tidy | |
go build -o build/l2 -ldflags "-X main.version=`git tag --sort=-version:refname | head -n 1`" l2.go | |
go test -v ./tests/ | |
- name: Deploy hexmos doc | |
run: curl -X POST --fail -F token=${{ secrets.TRIGGER_TOKEN }} -F ref=main https://git.apps.hexmos.com/api/v4/projects/85/trigger/pipeline |