Add new download to gha #167
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- Other | |
run: sudo apt-get update && sudo apt-get install xvfb curl wget jq unzip | |
timeout-minutes: 4 # because sometimes it dies | |
#- uses: ./.github/actions/ # it would be nice but it doesn't support timeout-minutes | |
- name: Install Dependencies- Chrome | |
run: chmod +x ./.github/workflows/download_chrome.sh && ./.github/workflows/download_chrome.sh "linux64" | |
- 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 | |
#- uses: ./.github/actions/ # it would be nice but it doesn't support timeout-minutes | |
- name: Install Dependencies- Chrome | |
run: .\.github\workflows\download_chrome.ps1 "win64" | |
- name: Set Env | |
run: echo "BROWSER_PATH=$(Resolve-Path .\chrome-win64\chrome.exe)" >> $env:GITHUB_ENV | |
- 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 | |