Skip to content

Commit

Permalink
added github actions workflow file to run sizing calculator unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharuk-yb committed Jun 10, 2024
1 parent ac0a6f6 commit f556c9b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/sizing_calc_unit_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "sizing calculator unit tests"

on:
push:
branches:
- main
paths:
- 'yb-voyager/src/migassessment/**'
pull_request:
branches:
- main
paths:
- 'yb-voyager/src/migassessment/**'

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '^1.20'

- name: Install dependencies
run: go mod tidy

- name: Run tests
run: go test ./... -v

0 comments on commit f556c9b

Please sign in to comment.