mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 13:57:51 +00:00
Simplify.
This commit is contained in:
parent
84094b5ca0
commit
a7e4add602
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -176,9 +176,7 @@ jobs:
|
|||||||
- name: Install Tor [macOS, ${{ matrix.python-version }} ]
|
- name: Install Tor [macOS, ${{ matrix.python-version }} ]
|
||||||
if: ${{ contains(matrix.os, 'macos') }}
|
if: ${{ contains(matrix.os, 'macos') }}
|
||||||
run: |
|
run: |
|
||||||
brew extract --version 0.4.6.9 tor homebrew/cask
|
brew install tor
|
||||||
brew install tor@0.4.6.9
|
|
||||||
brew link --overwrite tor@0.4.6.9
|
|
||||||
|
|
||||||
- name: Install Tor [Windows]
|
- name: Install Tor [Windows]
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
@ -218,7 +216,7 @@ jobs:
|
|||||||
run: python misc/build_helpers/show-tool-versions.py
|
run: python misc/build_helpers/show-tool-versions.py
|
||||||
|
|
||||||
- name: Run "Python 3 integration tests"
|
- name: Run "Python 3 integration tests"
|
||||||
run: tox -e integration3
|
run: tox -e integration
|
||||||
|
|
||||||
- name: Upload eliot.log in case of failure
|
- name: Upload eliot.log in case of failure
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
|
15
tox.ini
15
tox.ini
@ -16,7 +16,7 @@ python =
|
|||||||
twisted = 1
|
twisted = 1
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
envlist = typechecks,codechecks,py{37,38,39}-{coverage},pypy27,pypy3,integration,integration3
|
envlist = typechecks,codechecks,py{37,38,39}-{coverage},pypy27,pypy3,integration
|
||||||
minversion = 2.4
|
minversion = 2.4
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
@ -86,21 +86,12 @@ commands =
|
|||||||
coverage: coverage report
|
coverage: coverage report
|
||||||
|
|
||||||
[testenv:integration]
|
[testenv:integration]
|
||||||
setenv =
|
|
||||||
COVERAGE_PROCESS_START=.coveragerc
|
|
||||||
commands =
|
|
||||||
# NOTE: 'run with "py.test --keep-tempdir -s -v integration/" to debug failures'
|
|
||||||
py.test --timeout=1800 --coverage -v {posargs:integration}
|
|
||||||
coverage combine
|
|
||||||
coverage report
|
|
||||||
|
|
||||||
|
|
||||||
[testenv:integration3]
|
|
||||||
basepython = python3
|
basepython = python3
|
||||||
setenv =
|
setenv =
|
||||||
COVERAGE_PROCESS_START=.coveragerc
|
COVERAGE_PROCESS_START=.coveragerc
|
||||||
|
# Without this, temporary file paths are too long on macOS, breaking tor
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
python --version
|
|
||||||
# NOTE: 'run with "py.test --keep-tempdir -s -v integration/" to debug failures'
|
# NOTE: 'run with "py.test --keep-tempdir -s -v integration/" to debug failures'
|
||||||
py.test --timeout=1800 --coverage -v {posargs:integration}
|
py.test --timeout=1800 --coverage -v {posargs:integration}
|
||||||
coverage combine
|
coverage combine
|
||||||
|
Loading…
Reference in New Issue
Block a user