Skip to content

update remotehosts.py to formally name the threads it launches #137

update remotehosts.py to formally name the threads it launches

update remotehosts.py to formally name the threads it launches #137

Workflow file for this run

name: unittest
on:
pull_request:
branches: [ master ]
paths-ignore:
- LICENSE
- '**.md'
- .github/workflows/faux-unittest.yaml
- .github/workflows/faux-crucible-ci.yaml
- 'docs/**'
- engine/engine-script-library.py
- engine/engine-script.py
workflow_dispatch:
concurrency:
group: ${{ github.ref }}/unittest
cancel-in-progress: true
jobs:
blockbreaker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
cd util
python3 -m venv .venv
source .venv/bin/activate
pip install pytest pytest-html jsonschema
- name: Run unit tests
run: |
cd util
source .venv/bin/activate
pytest -v --html=report.html --self-contained-html blockbreaker.py validate_run_file.py tests/*.py
- name: Upload html report
uses: actions/upload-artifact@v3
with:
name: report
path: util/report.html
unittest-complete:
runs-on: ubuntu-latest
needs:
- blockbreaker
steps:
- name: Confirm Success
run: echo "unittest-complete"