Merge pull request #55 from go-graphite/dzhdanov/pyroscope-fix #33
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: Run tests | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ 1.17.x, 1.18.x, 1.19.x, 1.20.x ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go stable | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 200 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && sudo apt-get install iproute2 net-tools -y | |
- name: Run tests | |
run: | | |
make test | |
make | |
- name: Run e2e tests | |
run: | | |
make e2e_test_setup | |
make e2e_test | |
make e2e_test_setup_clean |