Skip to content

aergocli: fix duplicate GetInternalOperations mock #980

aergocli: fix duplicate GetInternalOperations mock

aergocli: fix duplicate GetInternalOperations mock #980

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Short Test
on:
push:
branches-ignore: # master and develop run complete tests on another workflow
- master
- develop
jobs:
check_if_pull_request:
runs-on: ubuntu-latest
steps:
- name: Check if Pull Request
uses: 8BitJonny/[email protected]
id: pr_check
outputs:
is_pull_request: ${{ steps.pr_check.outputs.pr_found }}
build_and_test:
needs: check_if_pull_request
if: needs.check_if_pull_request.outputs.is_pull_request != 'true'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.19'
- name: Install dependencies
run: |
sudo apt-get install -y jq m4 make cmake
- name: Build
run: make
- name: Short Unit Tests
run: go test -short -timeout 999s ./...
env:
ARGLIB_LOGCONFIG: "${{ github.workspace }}/.github/arglog-shorttest.toml"