Skip to content

Commit

Permalink
Download allocated ASN lists for pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
James Bensley committed Nov 11, 2024
1 parent d8f231c commit 3e04f77
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,14 @@ recreate=true
deps = {[testenv]deps}
passenv = *
changedir = {toxinidir}
markers =
sequential_tests
commands =
# Ensure we have the unallocated ASN data
python3 ./dnas/scripts/update_asn_allocations.py --debug
# Run up to 4 tests in parallel (those which are no marked as being sequential tests)
pytest -vvvv -n 4 -m "not sequential_tests" dnas/tests/ {posargs}
# Run the remaining tests which must be run sequentially
pytest -vvvv -m "sequential_tests" dnas/tests/ {posargs}

[testenv:shellcheck]
Expand Down

0 comments on commit 3e04f77

Please sign in to comment.