ci: reorder heavy tests (Live before Fuzz)

This commit is contained in:
2026-04-12 04:22:33 -04:00
parent 2ce3f7ee90
commit 04685ba1c4

View File

@@ -57,21 +57,6 @@ jobs:
- run: pip install -e .[dev] - run: pip install -e .[dev]
- run: pytest - run: pytest
test-fuzz:
name: Test (Fuzz)
runs-on: ubuntu-latest
needs: [test-standard]
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e .[dev]
- run: pytest -m fuzz
test-live: test-live:
name: Test (Live) name: Test (Live)
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -87,10 +72,25 @@ jobs:
- run: pip install -e .[dev] - run: pip install -e .[dev]
- run: pytest -m live - run: pytest -m live
test-fuzz:
name: Test (Fuzz)
runs-on: ubuntu-latest
needs: [test-live]
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e .[dev]
- run: pytest -m fuzz
merge-to-testing: merge-to-testing:
name: Merge dev → testing name: Merge dev → testing
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [test-standard, test-fuzz, test-live] needs: [test-fuzz]
if: github.ref == 'refs/heads/dev' if: github.ref == 'refs/heads/dev'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -111,7 +111,7 @@ jobs:
prepare-merge-to-main: prepare-merge-to-main:
name: Prepare Merge to Main name: Prepare Merge to Main
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [test-standard, test-fuzz, test-live] needs: [test-fuzz]
if: github.ref == 'refs/heads/testing' if: github.ref == 'refs/heads/testing'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -133,7 +133,7 @@ jobs:
finalize-merge-to-main: finalize-merge-to-main:
name: Finalize Merge to Main name: Finalize Merge to Main
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [test-standard, test-fuzz, test-live] needs: [test-fuzz]
if: startsWith(github.ref, 'refs/heads/temp/merge-') if: startsWith(github.ref, 'refs/heads/temp/merge-')
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4