migrate to uv with ruff linting and formatting #42
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: unit-tests | |
| on: [push, pull_request] | |
| jobs: | |
| unit-test-python: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: [ 3.9 ] | |
| os: [ ubuntu-latest ] | |
| env: | |
| OS: ${{ matrix.os }} | |
| PYTHON: ${{ matrix.python-version }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| architecture: x64 | |
| - name: Install dependencies | |
| run: make install-python-ci-dependencies | |
| - name: Install dependencies | |
| run: pip install pytest pytest-md pytest-emoji | |
| - uses: pavelzw/pytest-action@v2 | |
| with: | |
| emoji: false | |
| verbose: false | |
| job-summary: true |