Merge pull request #56 from wbrown/rwang.githubActions2.10182024 #1
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: Test gpt_bpe_test.go | |
on: | |
push: | |
paths-ignore: | |
- "README.md" | |
- "LICENSE" | |
- "cmd/**" | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- name: Build | |
run: go build -v ./ | |
- name: Test gpt_bpe | |
uses: robherley/go-test-action@v0 | |
with: | |
testArguments: ./ -timeout 20m |