Skip to content

ci: run with tests in GitHub Actions #12

ci: run with tests in GitHub Actions

ci: run with tests in GitHub Actions #12

Workflow file for this run

name: ci
on:
push:
branches:
- 7.1*
pull_request:
# limit the access of the generated GITHUB_TOKEN
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
cache: true
cache-dependency-path: |
go.sum
tools/go.sum
systemtest/go.sum
- run: make check-full
test:
strategy:
matrix:
os: ['macos-latest', 'windows-latest', 'ubuntu-latest']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
cache: true
- run: go test -v ./...
python-system-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
cache: true
- run: make update apm-server docker-system-tests
go-system-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
cache: true
- run: make apm-server
- run: cd systemtest && go test -v -timeout=20m ./...