Skip to content

Add "exec as" feature to public package interface #1796

Add "exec as" feature to public package interface

Add "exec as" feature to public package interface #1796

Workflow file for this run

---
name: Build and Test
on:
push:
branches:
- main
tags:
- v*
pull_request:
schedule:
- cron: '7 3 * * *'
jobs:
pre-commit:
name: Pre commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
chack_license:
name: Check license
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Check license in project files
run: ./scripts/check-license.sh
shell: bash
test:
name: Unit tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: Install tools
run: |
sudo apt-get update
sudo apt-get install ansible
sudo apt-get install gdb
sudo apt-get install python3
- name: integration bash tests
run: ./testing/integrate.sh
shell: bash
integration_test:
name: Integration tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: integration tests
run: INTEGRATION_TEST=yes go test -run "^TestIntegration.*$" ./...
shell: bash