Fix truncation of erroneous samples / clock measurements (#158) #190
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: Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| style: | |
| name: Check style | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: astral-sh/ruff-action@v3 | |
| - uses: astral-sh/ruff-action@v3 | |
| with: | |
| args: "format --check" | |
| test: | |
| needs: style | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| name: Run tests (Python ${{ matrix.python-version }}) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Build | |
| run: uv sync --all-extras | |
| - name: Run tests | |
| run: | | |
| git clone https://github.com/xdf-modules/example-files.git | |
| uv run pytest |