From cff7cd95d503093055641daae4e73f650a82ae27 Mon Sep 17 00:00:00 2001 From: heswithme Date: Mon, 14 Oct 2024 17:57:44 +0200 Subject: [PATCH] ci: test matrix --- .github/workflows/ci.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8166a58..8c34423 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,6 +24,11 @@ jobs: timeout-minutes: 30 strategy: fail-fast: false + matrix: + folder: + - "tests/unitary" + - "tests/integration" + - "tests/hypothesis" steps: - uses: actions/checkout@v4 @@ -46,8 +51,8 @@ jobs: run: uv sync --extra=dev # Run tests with environment variables - - name: Run Tests + - name: Run Tests in ${{ matrix.folder }} env: ETH_RPC_URL: ${{ secrets.ETH_RPC_URL }} ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }} - run: uv run pytest -n auto + run: uv run pytest -n auto ${{ matrix.folder }}