Skip to content

creating a unit test using mocking for the generate SS function #120

creating a unit test using mocking for the generate SS function

creating a unit test using mocking for the generate SS function #120

Workflow file for this run

name: CI
'on':
pull_request:
paths-ignore:
- README.md
branches:
- main
jobs:
unit-test:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache: true
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install python3-pip
sudo pip3 install invoke
- name: Lint
run: invoke lint -e host
- name: Run unit tests
run: invoke test