fix(pkg/finality-grandpa): fix tests by closing network goroutines #11550
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
on: | |
pull_request: | |
# Commented paths to avoid skipping required workflow | |
# See https://github.community/t/feature-request-conditional-required-checks/16761 | |
# paths: | |
# - .github/workflows/docker-stress.yml | |
# - "**/*.go" | |
# - "chain/**" | |
# - "cmd/**" | |
# - "dot/**" | |
# - "internal/**" | |
# - "lib/**" | |
# - "pkg/**" | |
# - "tests/stress/**" | |
# - go.mod | |
# - go.sum | |
name: docker-stress | |
jobs: | |
docker-stress-tests: | |
runs-on: buildjet-4vcpu-ubuntu-2204 | |
env: | |
DOCKER_BUILDKIT: "1" | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
all_but_latest: true | |
- uses: docker/build-push-action@v6 | |
with: | |
load: true | |
target: builder | |
tags: chainsafe/gossamer:test | |
- name: Run stress | |
run: | | |
docker run chainsafe/gossamer:test sh -c "make it-stress" |