mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Revert to master version of these configs
This commit is contained in:
parent
647ed5d6e1
commit
9695e87fbd
@ -163,7 +163,6 @@ jobs:
|
||||
"${TAHOE_LAFS_TOX_ARGS}"
|
||||
|
||||
- run: &RUN_TESTS
|
||||
# Please keep python3.6 in sync with this if you can. Thanks.
|
||||
name: "Run test suite"
|
||||
command: |
|
||||
/tmp/project/.circleci/run-tests.sh \
|
||||
@ -283,30 +282,6 @@ jobs:
|
||||
environment:
|
||||
<<: *UTF_8_ENVIRONMENT
|
||||
TAHOE_LAFS_TOX_ENVIRONMENT: "py36"
|
||||
# Work around a conflict with trial under Python 3 between --reporter and
|
||||
# --rterrors (by unspecifying --rterrors).
|
||||
TAHOE_LAFS_TRIAL_ARGS: "--reporter=subunitv2-file"
|
||||
|
||||
steps:
|
||||
- "checkout"
|
||||
- run: *SETUP_VIRTUALENV
|
||||
- run:
|
||||
name: "Limit Modules"
|
||||
command: |
|
||||
|
||||
# Limit the modules exercised under Python 3 dynamically, based
|
||||
# on the list we keep in allmydata.util._python3. Use BASH_ENV to
|
||||
# communicate this to the RUN_TESTS step:
|
||||
#
|
||||
# https://circleci.com/docs/2.0/env-vars/#using-parameters-and-bash-environment
|
||||
|
||||
echo "export TAHOE_LAFS_TOX_ARGS=\"$(/tmp/tahoe-lafs.tox/${TAHOE_LAFS_TOX_ENVIRONMENT}/bin/python -c 'from allmydata.util._python3 import PORTED_TEST_MODULES; print(" ".join(PORTED_TEST_MODULES))')\"" >> ${BASH_ENV}
|
||||
|
||||
- run: *RUN_TESTS
|
||||
- store_test_results: *STORE_TEST_RESULTS
|
||||
- store_artifacts: *STORE_TEST_LOG
|
||||
- store_artifacts: *STORE_OTHER_ARTIFACTS
|
||||
- run: *SUBMIT_COVERAGE
|
||||
|
||||
|
||||
ubuntu-20.04:
|
||||
|
8
tox.ini
8
tox.ini
@ -45,9 +45,13 @@ usedevelop = False
|
||||
# tests.
|
||||
extras = test
|
||||
commands =
|
||||
# `tahoe --version` is not ready for prime time yet under py36. May it be some day!
|
||||
!py36: tahoe --version
|
||||
trial {env:TAHOE_LAFS_TRIAL_ARGS:--rterrors} {posargs:allmydata}
|
||||
tahoe --version
|
||||
|
||||
[testenv:py36]
|
||||
# On macOS, git inside of ratchet.sh needs $HOME.
|
||||
passenv = {[testenv]passenv} HOME
|
||||
commands = {toxinidir}/misc/python3/ratchet.sh
|
||||
|
||||
[testenv:integration]
|
||||
setenv =
|
||||
|
Loading…
x
Reference in New Issue
Block a user