machine: u-boot: Add a hacky workaround for the crc32 command #379
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: tbot selftest CI | |
on: | |
push: | |
branches: | |
- master | |
- wip | |
pull_request: | |
jobs: | |
test: | |
name: Lint and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies, linters, doc-tools | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest mypy paramiko termcolor2 pyserial coverage pytest-cov | |
- name: Run pre-commit hooks for all files | |
uses: pre-commit/[email protected] | |
with: | |
extra_args: --all-files --verbose | |
env: | |
SKIP: selftests | |
- name: Run tbot selftests | |
run: | | |
export COLUMNS=160 | |
python -m pytest --cov=tbot --cov=tbot_contrib -v --color=yes selftest/ | |
- name: Run tbot extended selftests | |
run: | | |
export CLICOLOR_FORCE=1 | |
python -m tbot.main -vv selftest_tc | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |