Add preallocations, add constructor with fuctional options #23
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: srclient Main Workflow | |
on: [push, pull_request] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Download dependencies | |
run: go mod download | |
- name: Run unit tests | |
run: go test -cover -v ./... | |
integration-tests: | |
needs: unit-tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run containerized integration tests | |
run: docker compose up --exit-code-from srclient-integration-test |