Skip to content

Commit

Permalink
CI stress test
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed Jun 29, 2022
1 parent 40c9420 commit 3fe45b4
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,21 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10"]
# Cherry-pick test modules to split the overall runtime roughly in half
partition: [ci1, not ci1]
exclude:
- os: macos-latest
python-version: 3.9
include:
- partition: "ci1"
partition-label: "ci1"
- partition: "not ci1"
partition-label: "notci1"

# Uncomment to stress-test the test suite for random failures.
# Must also change env.TEST_ID below.
# This will take a LONG time and delay all PRs across the whole github.com/dask!
# To avoid hamstringing other people, change 'on: [push, pull_request]' above
# to just 'on: [push]'; this way the stress test will run exclusively in your
# branch (https://github.com/<your name>/distributed/actions).
# run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] #, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]

env:
TEST_ID: ${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.partition-label }}
# TEST_ID: ${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.partition-label }}-${{ matrix.run }}
TEST_ID: ${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.run }}


steps:
- name: Checkout source
Expand Down Expand Up @@ -124,7 +118,7 @@ jobs:
mkdir reports
pytest distributed \
-m "not avoid_ci and ${{ matrix.partition }}" --runslow \
-m "not avoid_ci" --runslow \
--leaks=fds,processes,threads \
--junitxml reports/pytest.xml -o junit_suite_name=$TEST_ID \
--cov=distributed --cov-report=xml \
Expand Down

0 comments on commit 3fe45b4

Please sign in to comment.