Fix instability in long haul tests #484
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
name: Linux Tests | |
# Controls when the workflow will run | |
on: | |
pull_request: {} | |
push: {} | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
id: go | |
- name: Run unit test | |
run: | | |
export PATH=$PATH:$HOME/.local/bin | |
sudo apt-get update | |
make verify | |
- name: Run build test | |
run: | | |
export PATH=$PATH:$HOME/.local/bin | |
make | |
- name: Make container test | |
run: | | |
export PATH=$PATH:$HOME/.local/bin | |
make container | |
- name: Install goveralls | |
run: go install github.com/mattn/goveralls@latest | |
- name: Get code coverage | |
env: | |
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: goveralls -coverprofile=profile.cov -service=github |