This repository has been archived by the owner on May 29, 2024. It is now read-only.
[issue-172] Version pinned devnet allocations #338
Workflow file for this run
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
# Go test workflow | |
name: test | |
on: | |
push: | |
branches: [ "master", "development" ] | |
pull_request: | |
branches: [ "master", "development" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Build App | |
run: make build-app | |
go-test: | |
outputs: | |
COVERAGE: ${{ steps.unit.outputs.coverage }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Install project dependencies | |
run: | | |
go mod download | |
- name: Run Unit Tests | |
id: unit | |
run: | | |
go test -v -coverprofile=coverage.out ./internal/... | |
e2e-test: | |
runs-on: larger-runner | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Run E2E Integration Tests | |
run: make e2e-test |