From cc9b3c379ae981f694a84cf48852873fd7f885f5 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Mon, 12 Aug 2024 11:09:25 +0700 Subject: [PATCH] github/workflows: enable Ethereum client test --- .github/workflows/client-test.yml | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/client-test.yml diff --git a/.github/workflows/client-test.yml b/.github/workflows/client-test.yml new file mode 100644 index 0000000000..e89aa4ba2b --- /dev/null +++ b/.github/workflows/client-test.yml @@ -0,0 +1,32 @@ +name: Ethereum client test + +on: + push: + branches: + - blob-tx-tests + +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: 'Checkout Repo with submodules' + uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c #v3.3.0 + with: + submodules: true + + - name: 'Setup Go' + uses: actions/setup-go@v5 + with: + go-version: '1.20.10' + + - name: 'Run state tests' + run: cd tests && go test -test.v -run=TestState > ./log_file + + - name: 'Grep failed tests' + run: grep "FAIL" ./log_file +