Skip to content

chore(deps): update dependencies #374

chore(deps): update dependencies

chore(deps): update dependencies #374

Workflow file for this run

name: Linux
on:
push:
branches:
- master
- beta
- stable
tags-ignore:
- '**'
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
name: Tests (Go ${{ matrix.go }}, OS ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
go: [ 'stable' ]
os: [ ubuntu-latest ]
env:
GO111MODULE: on
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Show versions
run: go version
- name: Install Go dependencies
run: go mod download
- name: Run golang tests on ${{ matrix.os }}
run: |
mkdir ./coverage-ci
go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/backoff.txt -covermode=atomic ./tests/init
go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/happy_scenarios.txt -covermode=atomic ./tests/happy_scenarios
go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/interfaces.txt -covermode=atomic ./tests/interfaces
go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/issues.txt -covermode=atomic ./tests/issues
go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/stress.txt -covermode=atomic ./tests/stress
go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/disabled_vertices.txt -covermode=atomic ./tests/disabled_vertices
cat ./coverage-ci/*.txt > ./coverage-ci/summary.txt
- uses: codecov/[email protected] # Docs: <https://github.com/codecov/codecov-action>
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage-ci/summary.txt
fail_ci_if_error: false