Skip to content

Commit

Permalink
[TEST] Disable steps, add test
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-j-h committed Jun 12, 2024
1 parent 187b3dc commit 0889831
Showing 1 changed file with 1 addition and 36 deletions.
37 changes: 1 addition & 36 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,42 +9,6 @@ env:
GOPATH: ${{ github.workspace }}/go
WORKING_DIR: ${{ github.workspace }}/go/src/github.com/ethereum/go-ethereum
jobs:
build:
name: 'Run tests and build on ${{ matrix.os }}'
strategy:
fail-fast: false
matrix:
# Not enable for macos as there's a consistent failure:
# --- FAIL: TestUPNP_DDWRT (2.20s)
# ###[error] natupnp_test.go:165: not discovered
# must be sommething with Github Actions VM networking setup.
# Event Ubuntu requires a workaround
os: [ "ubuntu-20.04" ]
env:
QUORUM_IGNORE_TEST_PACKAGES: github.com/ethereum/go-ethereum/les,github.com/ethereum/go-ethereum/les/flowcontrol,github.com/ethereum/go-ethereum/mobile
runs-on: ${{ matrix.os }}
steps:
- name: 'Setup Go ${{ env.GO_VERSION }}'
uses: actions/setup-go@v1
with:
go-version: ${{ env.GO_VERSION }}
- name: 'Check out project files'
uses: actions/checkout@v2
with:
submodules: recursive
path: ${{ env.WORKING_DIR }}
- name: 'Apply workaround to fix networking in Linux'
if: runner.os == 'Linux'
run: |
# https://github.com/actions/virtual-environments/issues/798
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
- name: 'Prepare environment'
run: |
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: 'Run tests and build all'
working-directory: ${{ env.WORKING_DIR }}
run: |
make test all
docker-build:
name: 'Build Docker image'
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -78,6 +42,7 @@ jobs:
# More comprehensive suites are scheduled to run in master
tag:
- 'privacy-enhancements-upgrade || networks/template::istanbul-4nodes-pe'
- 'mps-mixed-network-psr-check || networks/template::raft-4nodes-mps-mixed'
runs-on: ubuntu-20.04
steps:
- name: 'Download workflow artifact - Docker image'
Expand Down

0 comments on commit 0889831

Please sign in to comment.