From f8848817e48e43097613de4bfecf7eff3d426e3a Mon Sep 17 00:00:00 2001 From: darwintree <17946284+darwintree@users.noreply.github.com> Date: Tue, 17 Dec 2024 10:46:45 +0800 Subject: [PATCH] ci: recover test workders as 3 --- .github/workflows/coverage.yml | 2 +- .github/workflows/local-test.yml | 2 +- .github/workflows/testnet-test.yml | 2 +- Makefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 5a46786..528c0dd 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -22,7 +22,7 @@ jobs: export USE_TESTNET=1 && export ENS_ACCOUNT_NAME=${{secrets.ENS_ACCOUNT_NAME}} && export ENS_ACCOUNT_SECRET=${{secrets.ENS_ACCOUNT_SECRET}} && - pytest --cov tests -n 4 --dist loadscope + pytest --cov tests -n 3 --dist loadscope - name: Upload coverage reports to Codecov run: | curl -Os https://uploader.codecov.io/latest/linux/codecov diff --git a/.github/workflows/local-test.yml b/.github/workflows/local-test.yml index f490d7c..b9cb2f9 100644 --- a/.github/workflows/local-test.yml +++ b/.github/workflows/local-test.yml @@ -28,4 +28,4 @@ jobs: pip install ".[tester]" - name: Run test run: | - pytest tests -vv -n 4 --dist loadscope + make test diff --git a/.github/workflows/testnet-test.yml b/.github/workflows/testnet-test.yml index 8691e41..3dde732 100644 --- a/.github/workflows/testnet-test.yml +++ b/.github/workflows/testnet-test.yml @@ -33,4 +33,4 @@ jobs: export ENS_ACCOUNT_NAME=${{secrets.ENS_ACCOUNT_NAME}} && export ENS_ACCOUNT_SECRET=${{secrets.ENS_ACCOUNT_SECRET}} && export TEST_FINALIZATION=1 && - pytest tests -vv -n 4 --dist loadscope + make test diff --git a/Makefile b/Makefile index 07d6890..2de55ae 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,6 @@ doc: rm-doc gen-doc-config # make html test: - pytest tests -vv -n 4 --dist loadscope + pytest tests -vv -n 3 --dist loadscope # && export USE_TESTNET=1 && pytest tests # cd ./docs && make doctest