Skip to content

Add unit tests for api_client, api_models, ask, search, and passage #165

Add unit tests for api_client, api_models, ask, search, and passage

Add unit tests for api_client, api_models, ask, search, and passage #165

Workflow file for this run

name: Build Test Automation
on:
pull_request:
branches:
- master
- staging
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.23.x
- name: Checkout 🛎️
uses: actions/checkout@v4 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Install, Build, Test 🔧 # This runs a series of commands as if building a live version of the project
run: |
go mod tidy
go test github.com/julwrites/ScriptureBot/pkg/utils \
github.com/julwrites/ScriptureBot/pkg/app \
github.com/julwrites/ScriptureBot/pkg/bot