Make default stderr sys.stderr, not passthrough #146
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-wf | |
on: pull_request | |
jobs: | |
test-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v1 # Would be nice to bump this? Regressions. | |
- name: Install Dependencies | |
run: sudo apt-get update && sudo apt-get install chromium-browser xvfb | |
timeout-minutes: 4 # because sometimes it dies | |
#- uses: ./.github/actions/ # it would be nice but it doesn't support timeout-minutes | |
- name: Install choreographer | |
run: pip install .[dev] | |
- name: DTDoctor | |
run: dtdoctor --no-run | |
timeout-minutes: 1 | |
- name: Test Process Control DEBUG | |
if: runner.debug | |
run: xvfb-run pytest -W error -vv -rA --capture=tee-sys tests/test_process.py | |
timeout-minutes: 5 | |
- name: Test Process Control | |
if: ${{ ! runner.debug }} | |
run: xvfb-run pytest -W error -n auto -v -rfE --capture=fd tests/test_process.py | |
timeout-minutes: 2 | |
- name: Test The Rest DEBUG | |
if: runner.debug | |
run: pytest -W error -vvv -rA --capture=tee-sys --ignore=tests/test_process.py | |
timeout-minutes: 5 | |
- name: Test The Rest | |
if: ${{ ! runner.debug }} | |
run: pytest -W error -n auto -v -rfE --ignore=tests/test_process.py | |
timeout-minutes: 2 | |
test-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- name: Install Dependencies | |
run: choco install googlechrome -y --ignore-checksums | |
timeout-minutes: 4 # because sometimes it dies | |
#- uses: ./.github/actions/ | |
- name: Install choreographer | |
run: pip install .[dev] | |
- name: DTDoctor | |
run: dtdoctor --no-run | |
timeout-minutes: 1 | |
- name: Test Process Control DEBUG | |
if: runner.debug | |
run: pytest -W error -vv -rA --capture=tee-sys tests/test_process.py | |
timeout-minutes: 5 | |
- name: Test Process Control | |
if: ${{ ! runner.debug }} | |
run: pytest -W error -n auto -v -rFe --capture=fd tests/test_process.py | |
timeout-minutes: 2 | |
- name: Test The Rest DEBUG | |
if: runner.debug | |
run: pytest -W error -vvv -rA --capture=tee-sys --ignore=tests/test_process.py | |
timeout-minutes: 5 | |
- name: Test The Rest | |
if: ${{ ! runner.debug }} | |
run: pytest -W error -n auto -v -rfE --ignore=tests/test_process.py | |
timeout-minutes: 2 | |
test-mac: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- name: Install Dependencies | |
run: brew install google-chrome | |
timeout-minutes: 4 # because sometimes it dies | |
#- uses: ./.github/actions/ | |
- name: Install choreographer | |
run: pip install .[dev] | |
- name: DTDoctor | |
run: dtdoctor --no-run | |
timeout-minutes: 1 | |
- name: Test Process Control DEBUG | |
if: runner.debug | |
run: pytest -W error -vv -rA --capture=tee-sys tests/test_process.py | |
timeout-minutes: 5 | |
- name: Test Process Control | |
if: ${{ ! runner.debug }} | |
run: pytest -W error -n auto -v -rFe --capture=fd tests/test_process.py | |
timeout-minutes: 4 | |
- name: Test The Rest DEBUG | |
if: runner.debug | |
run: pytest -W error -vvv -rA --capture=tee-sys --ignore=tests/test_process.py | |
timeout-minutes: 5 | |
- name: Test The Rest | |
if: ${{ ! runner.debug }} | |
run: pytest -W error -n auto -v -rfE --ignore=tests/test_process.py | |
timeout-minutes: 3 | |