Move hardware test harness to k0test repo #34
This file contains hidden or 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: Run all tests | |
| on: [push, pull_request] | |
| env: | |
| PIP: "env PIP_DISABLE_PIP_VERSION_CHECK=1 | |
| PYTHONWARNINGS=ignore:DEPRECATION | |
| pip --no-cache-dir" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Show Python version | |
| run: python -V | |
| - name: Install dependencies | |
| run: $PIP install k0dasm | |
| - name: Run the tests | |
| run: python -m unittest discover -s k0emu/tests |